I figured that if I disable 
annotations options.setDisplayAnnotations(false); the chart redraws without 
flickering.
Ideally, I'd like to be able to see annotations too, but at least some 
quick workaround is there.

Another important detail is that setAllowRedraw has to be set to true also. 
If it's true, then chart doesn't remove old points (which is unfortunate 
too!), but if it's set to false it flickers.

Is there a way to get around one or both of the problems described?

On Thursday, January 10, 2013 12:59:22 PM UTC-6, ATrubka wrote:
>
> I have the same flickering problem.
> I use GWT API to work with google vizualization charts, but I hope it's 
> not where the problem lies.
> I listen to ready event to make sure the chart is ready. Still once I call 
> chart.draw() it flickers just like if I were to add a totally new chart to 
> the page.
>
> Options options = Options.create();
> options.setScaleType(ScaleType.ALLMAXIMIZE);
> options.setDisplayAnnotations(true);
> options.setAllowRedraw(true);
> chart.draw(parseChartData(_data, result), options);
>
> Thank you in advance!
>
> On Tuesday, November 9, 2010 10:36:23 AM UTC-6, VizGuy (Google) wrote:
>>
>> One thing you want to do is to verify that you waited for the 'ready' 
>> event to be fired after the initial draw.
>> See in the playground and in the docs how to listen to this event.
>> Once this is done, it should work.
>>
>> Regards,
>> VizGuy
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/rIui5aCS5cIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to