So you have an arbitrary number of data series, which may or may not share 
common x-axis values, and you are trying to figure out how to add them to a 
DataTable so you can draw your chart; do I have that correct?  If so, then 
I think the answer is going to depend heavily on the form in which you 
obtain the data to begin with.  What is the structure of the raw data?

On Thursday, April 4, 2013 8:09:14 PM UTC-4, Oliver Smith wrote:
>
> I've spent a while searching, and I see a number of possible ways to do 
> this, but none of them feels right, and this seems like something that 
> ought to be so common that perhaps myself and the folks who've previously 
> touched on it aren't quite getting it.
>
> I have an arbitrary number of series of [time, sample] datasets. I want to 
> draw a line chart with each. While the time values will be within the same 
> ranges, they will rarely have the same values, and the times are in 
> miliseconds relative to the start of the sample.
>
> A given series readily produces a nice, simple, line chart of it's own, 
> what I want to do is draw N (between 1 and 255).
>
> While I can see a few ways to do this, I'd kind of like to find the right 
> way.
>
> My instinct is to look for a "draw series" method, because creating rows 
> with 255 columns where the chances of any given row having more than one 
> entry ... feels so wrong.
>
> I tried using join, but got very confused very quickly and it rapidly got 
> really slow.
>
> I looked at using addColumn/addRow/setCell; addRow would work if I knew 
> how many series there were going to be at development time, setCell just 
> feels like it's going to be insanely expensive.
>
> Any points or advice appreciated.
>
> (And after this, it's off to figure out if I should use a gannt style 
> visualisation)
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to