Thanks Asgallant. So from you said, we can use LineChart to do below things,right? 1 x X-axis show timestamp which can precise to millisecond. 3 This chart can show annotation for some timestamp just like annotationtimeline does 3 The chart can zoom in and zoom out to see some data in specific range.
If so, thanks, i will investigate it, also appreciate if you already had some sample html for reference,thanks. Lan On Thursday, March 20, 2014 7:27:58 PM UTC-5, asgallant wrote: > > Google Finance does not use the AnnotationChart. The AnnotationChart will > draw data precise to the millisecond, but the tooltip doesn't reflect > that. If you use a regular > LineChart<https://developers.google.com/chart/interactive/docs/gallery/linechart>, > > you can customize the time format for the tooltips to get whatever > resolution you need. LineCharts support annotations if you need them, and > you can get the range filter functionality via a > ChartRangeFilter<https://developers.google.com/chart/interactive/docs/gallery/controls#chartrangefilter> > . > > On Thursday, March 20, 2014 5:32:13 PM UTC-4, Lucu Gao wrote: >> >> Hello, >> >> May I asked if below chart is implemented by google Annotation Chart? >> https://www.google.com/finance?q=MSI&ei=TFQrU9iaM4WkqgH1mwE >> >> >> If yes, may I ask how it can plot like this, I want to precise to msecond >> and seems currently annotation chart only support to hour, I can use above >> chart way - change date and time to column to show, but still one problem >> is >> If I wrote data like this >> data.addColumn('datetime', 'Date'); >> data.addColumn('number', 'Sold Pencils'); >> data.addColumn('string', 'title1'); >> data.addColumn('string', 'text1'); >> data.addColumn('number', 'Sold Pens'); >> data.addColumn('string', 'title2'); >> data.addColumn('string', 'text2'); >> data.addRows([ >> [new Date(2013,11,20,14,44,46), 30000, null, null, 40645, null, null] >> , >> [new Date(2013,11,20,14,44,46), 30100, null, null, 40647, null, null] >> , >> [new Date(2013,11,20,14,44,47), 30200, null, null, 40649, null, null] >> , >> [new Date(2013,11,20,14,44,48), 30300, null, null, 40651, null, null] >> , >> [new Date(2013,11,20,14,44,49), 30400, null, null, 40653, null, null] >> , >> [new Date(2013,11,20,14,44,50), 14045, null, null, 20374, null, null] >> , >> ]); >> >> the second data will overwrite the first one, how to resolve this?Waiting >> for your feedback >> >> >> Lan >> >> >> >> -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
