Bug #4297
openWCartesianChart tooltips do not reflect zoom/pan
0%
Description
With github Wt 3.3.3-82-g33eb2b5, a WCartesianChart with zoom and pan enabled displays tooltips correctly when initially rendered. However, when the chart is modified by using the zoom or pan controls, the tooltip locations (map/area) do not appear to get updated and the tooltips remain active at their original locations.
This can be observed with the attached test program by creating a chart with the zoomable checkbox.
Files
Updated by Bruce Toll over 9 years ago
Tested on Debian 7.8 using Chromium 37.0.2062.120, iceweasel 31.8.0, and with Windows 7 using Firefox 39.0, IE 11, and Chrome 43.0.2357.132 m.
Updated by Koen Deforche over 9 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Hey Bruce,
To be honest, we didn't think about the tooltips when becoming enthusiastic about the interactive feature and at this stage we'll document that it's currently unsupported (given that it requires a significant (but not complicated) amount of work to fix it.
Koen
PS in good tradition, we would of course accept a patch from you for this ;-)
Updated by Bruce Toll over 9 years ago
Hey Koen,
That sounds very reasonable to me and I'll look into providing a patch. The tooltip feature would be useful for our App and the project would be interesting. The Wt code in this area seems very well structured, but I may ask for some guidance once I look into it more closely.
Bruce
Updated by Bruce Toll over 9 years ago
Please see #4358 for the submitted patch.