Shadow areas on CartesianChart with Chrome
I have just tried my Wt application using Chrome.
I can see shadow areas on the cartesian charts. Their shape changes when i edit the curve by adding new points
It works fine with Firefox.
Is that a known bug with Chrome ?
Updated by Koen Deforche over 11 years ago
No, that's new to me. Chrome always behaved well as far as my experience goes. Is the image rendered as an SVG or as canvas ?
And any idea what you are doing different than the charts example, which does not show this artefact for me ?
Updated by Christophe Delépine over 11 years ago
Here is the source code for my curve editor. The main setup is in the class constructor.
I don't have the feeling i do anything special
I have 2 series : one is drawn with green line segments + yellow markers. The second series is empty and only contains data when the user selects a marker.
Updated by Koen Deforche almost 11 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
I could reproduce this. Apparently it happens when SVG is used, and the bug is known and open in Chromium:
I suggest that you use HTML5 Canvas for rendering the chart?
Updated by Christophe Delépine almost 11 years ago
You can close bug#724 since the problem is within Chrome.
FYI, i have tried setPreferredMethod(HtmlCanvas) for my chart but the bug still occurs. This is with the latest Chrome.
I have desactivated shadows for the moment.