Yes, you can do that. You have to join the two DataTables together using
the
google.visualization.data.join<https://developers.google.com/chart/interactive/docs/reference#google_visualization_data_join>method,
then draw the chart using the joined data. In the chart's options,
use the series.<series index>.targetAxisIndex to direct a data series to
use the left (index 0) or right (index 1) y-axis. Use the vAxes.<axis
index> option to configure the y-axes (each one takes the same options as
available to the vAxis option).
On Thursday, February 14, 2013 3:34:36 AM UTC-5, Workaholic wrote:
>
> Hi,
> I've 2 tables with the same labels as attached.
> I've a chart displaying only one of them for now("chart.jpg").
> Is it possible to mix them to one chart with two y axis, each displaying
> different table?
>
> Thanks.
>
--
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.