Annotated timeline with multiple y-axis

173 views
Skip to first unread message

Harris

unread,
Oct 6, 2011, 11:16:32 PM10/6/11
to Google Visualization API
Hello,

I am having a bit of an issue with my multiple y-axis using the
annotated timeline.

I have the following data sets:

- date
- dataset 1 , dataset 2 (need to be in same scale)
- dataset 3, dataset 4 (need to be in same scale)

I have my scale columns to [1,3] (so data set 2 and 4) and scaleType
to 'allfixed'. The problem is that data set 1 has values that are
small compared to dataset 2 and don't appear to be plotted in that
axis. Dataset 3 and 4 are closer together in value so the scale isn't
a noticeable issue.

Is there not a way when you define your data.SetValue to be able to
assign it to a certain axis? Perhaps I should be using a different
chart type for this?

To give more detail - it involves river flows. The first 2 data sets
are a dam inflow and outflow. The second data set is the dam capacity
and upper range capacity in m^3. I THOUGHT it would be neat and useful
to have them in the same timeline so that I could also add annotations
at a later date.

If someone with more graphing or more google visualization api
experience will comment, I would be appreciative!

Thanks,

Harris


asgallant

unread,
Oct 7, 2011, 9:34:57 AM10/7/11
to google-visua...@googlegroups.com
I don't believe there is a way to tell the Annotated timelines which axis you want a series that isn't listed in scaleColumns plotted against, so your data set 1 may be getting plotted against the same axis as 3 and 4.  Line charts are much easier to assign series to axes, though, and you can set the formatted value of the data to change how it shows up in the tooltips, which can substitute for the annotations to some extent.
Reply all
Reply to author
Forward
0 new messages