Use an AnnotationChart, not a LineChart (the AnnotationChart is the 
replacement for the AnnotatedTimeline), as an example:

chartTemperature = new google.visualization.AnnotationChart
(document.getElementById('columnchart'));

You should have 1 google.load call that looks like this:

google.load('visualization', '1', {packages: ['annotationchart']});

or this, if you need to load the "corechart" package too:

google.load('visualization', '1', {packages: ['annotationchart', 
'corechart']});

On Tuesday, September 23, 2014 7:14:25 PM UTC-4, Le Thanh Trieu wrote:
>
>
> Hi Sir ! Thanks for your anwser !
> With LineChart I think it work fine ! But when I change the core from '
> *corechart*' to '*annotatedtimeline*' it show blank page and have a error 
> (*undefined is not a function in line:*
> * var chart = new 
> google.visualization.AnnotatedTimeLine(document.getElementById('mychart'));*
> )
> Can you give me a example for Annotated using  '*corechart' (Don't flash) 
> for **AnnotatedTimeLine ?*
> *the link below is my problem, you can see the Green Chart Blinking every 
> 5s(I Redraw it every 5s ).*
> https://dl.dropboxusercontent.com/u/23155150/ChartV2.html to 
> Thanks sir so much !!
> On Tuesday, September 23, 2014 10:34:01 PM UTC+7, Daniel LaLiberte wrote:
>>
>> Hi Le Thanh Treiu,
>>
>> You should probably try to use the new AnnotationChart, which does not 
>> use flash, but makes use of the corecharts like the LineChart.  See the 
>> documentation at: 
>> https://developers.google.com/chart/interactive/docs/gallery/annotationchart
>>
>> Let us know how it goes, and if repeated draw() calls do what you want.
>>
>> On Tue, Sep 23, 2014 at 10:45 AM, Le Thanh Trieu <lethanh...@gmail.com> 
>> wrote:
>>
>>> Hi all !
>>> Who are you know how to Draw Annotated Timeline Chart whit NO 
>>> blink(Flash) when new data update? 
>>> With Line chart i can use animation and it don't blink(Flash) but in 
>>> Annotated timeline I can't do the same  !
>>> Please help me ! 
>>> Thansk all !
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Google Visualization API" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-visualization-api+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-visua...@googlegroups.com.
>>> Visit this group at 
>>> http://groups.google.com/group/google-visualization-api.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> 
>>  - 978-394-1058
>> dlali...@google.com   5CC, Cambridge MA
>> daniel.l...@gmail.com 9 Juniper Ridge Road, Acton MA
>>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to