For anyone whom it might help, currently I use the following workaround: I create as many columns as I need and pass 'undefined' values where there is no data for a datetime stamp. For example if I need 2 graphics, one for January 1 and January 2 and the other one for February 1 and Feb. 2, I would add the following data: Jan 1, Graph_1_value_1, undefined, Jan 2, Graph_1_value_2, undefined, Feb 1, undefined, Graph_2_value_1, Feb 2, undefined, Graph_2_value_2
The data should be ordered by date and time and... of course there is much extra data passed. But at least it works! :) On Jul 14, 11:59 am, Daniel Steinberg <[email protected]> wrote: > Hello, > > First of all thanks a lot for the great tool! > We would like to use Google Visualization API on our website and we > even found that "Annotated Time Line" is something that is best for > our needs. However there is a problem - we have 3 series of data that > corresponds to 3 different regions, the data basically has to columns: > datetime and a number. Whoever, the datetime part is rarely equal > between the regions, i.e it could be: > Region_1 June 6 1000 > Region_2 June7 2000 > > But that means we can't use "Annotated Time Line" because it doesn't > support multiple data sets with independent "x-value". A solution > would be to use "Line charts" with chart_type=lxy, which "Lets you > specify both x- and y-coordinates for each point, rather just the y > values", but I wonder if it costs the effort, because our current tool > does almost that and we really wanted to make use of the interactive > features of Google Visualization. > > So basically my question is: is there any option like chart_type=lxy > for "Annotated Time Line" or a similar chart, which would allow us to > draw 3 independent graphs on one chart? > > Many thanks in advance! > Daniel -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. 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.
