Project

General

Profile

Bug #7514

Interactive charts does not work with progressive bootstrap enabled

Added by Christopher Bilberg over 1 year ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
04/08/2020
Due date:
% Done:

0%

Estimated time:

Description

We have a lot of issues regarding capabilities of widgets when progressive bootstrap is enabled.

One example is interactive charts.

This is easily reproduced through the "ChartsExample.c" example.

With "false" in the config the charts in the example work fine.

However with "true" then the charts are not interactive anymore.

That is the zoom, pan and crosshair functionality no longer works.

This happens on Wt version "3.4.1".

It seems this happens because of an if statement in the init() function which is called as part of the constructor.

"WApplication::instance() != 0 && WApplication::instance()->environment().ajax()" where the ajax call returns false.

Is there away of working around this while still having progressive bootstrap enabled?

It seems like in general "WApplication::instance()->environment().ajax()" returns false when progressive bootstrap is enabled and that method is called during the constructor.

No data to display

Also available in: Atom PDF