gavioto / clientsidegchart

Automatically exported from code.google.com/p/clientsidegchart
0 stars 2 forks source link

[IE] The last curve doesn't appear correctly! #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello everyone.

I'm using the last GChart version with GWT 2.1 and gwt-incubator for 2.1 for 
the canvas render.

Everything is ok with all browser but with IE (6, 7 and 8), the last added 
curve of my chart will be not correctly rendered!

In fact, we can see each points but not the lines between them.
And for example if you move your cursor on one point, the lines will be then 
visible!

Have you an idea?

PS: Take a look at the pictures

Original issue reported on code.google.com by sandro...@gmail.com on 3 Feb 2011 at 12:40

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
I too have experienced this problem on IE using GWT 2.1 and gwt-incubator for 
2.1 for the canvas render. When the curve is drawn only the data points are 
shown. The lines connecting the points become visible only when you hover over 
one of the points. 

Thanks

Original comment by sridh...@gmail.com on 31 Oct 2011 at 11:10

GoogleCodeExporter commented 9 years ago
After a lot of trial and error, I found that this works as expected if
setFillThickness is set to a value greater than 4.

For any value <=4, the lines aren't visible.

Original comment by sridh...@gmail.com on 1 Nov 2011 at 10:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
One way to make your curve visible without hovering or without setting 
fillThickness to >4 is to invoke

touch(getCurve().getPoint())

you are essentially hovering over programmatically by doing this. Also, 
remember to call update() to make the changes visible.

Original comment by sridh...@gmail.com on 29 Nov 2011 at 11:31