Hi everyone!

I was working with Google's Scatter chart and came upon what I think is 
kind of a limitation when building the chart.

Suppose I've got two *Y series* defined as* Y1 : 'Male' *and* Y2: 'Female'*, 
and my* (x,y) pairs* are *(weight, height).*

A typical scatter chart row would be:

[72, 1.84, 1.75] where I've got male and female heights for a certain 
weight.

But what if I have more heights for that same weight? If I were adding 
those rows to the chart I'd have to:

data.addRow([72, 1.84, 1.75]);
data.addRow([72, 1.70, 1.69]);
data.addRow([72, null, 1.64]);

Because of the way I process my input data, I find it quite annoying having 
to create new rows with the *same x value* to fill multiple Y values for 
the same series.

Wouldn't it be much easier to be able to do something like:

data.addRow([72, [1.84, 1.70], [1.75, 1.69, 1.64] ]) ?

That syntax won't work right now, but is there some other way to do what 
I've tried? If not, could it be implemented?

Cheers,
M 




-- 
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/groups/opt_out.

Reply via email to