Bug #724
closedShadow areas on CartesianChart with Chrome
0%
Description
Hi,
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 ?
Regards
Christophe
Files
Updated by Koen Deforche almost 14 years ago
Hey Christophe,
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 ?
Regards,
koen
Updated by Christophe Delépine almost 14 years ago
- File CurveEdit.cpp CurveEdit.cpp added
- File CurveEdit.h CurveEdit.h added
Koen,
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.
Regards
Christophe
Updated by Christophe Delépine almost 14 years ago
The problem comes from the following line :
s.setShadow(WShadow(3, 3, WColor(0, 0, 0, 127), 2));
If i remove this line, then the shadow areas disappear. Looks like the shadow is not well managed on Chrome
Updated by Koen Deforche over 13 years ago
- Status changed from New to Feedback
- Assignee set to Koen Deforche
Hey Christophe,
I could reproduce this. Apparently it happens when SVG is used, and the bug is known and open in Chromium:
http://code.google.com/p/chromium/issues/detail?id=71773
I suggest that you use HTML5 Canvas for rendering the chart?
Regards,
koen
Updated by Christophe Delépine over 13 years ago
Hi Koen,
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.
Regards
Christophe
Updated by Koen Deforche over 13 years ago
- Status changed from Feedback to Closed