Setting up series to target different axes is fairly straightforward.  The 
"series" option is a map of series indices to series suboptions, one of 
which is the "targetAxisIndex" option, which controls which axis the series 
is drawn against (index 0 is the left axis, index 1 is the right axis). 
 Set up the options for each axis using the "vAxes" options, which is a map 
of axis indices to vAxis suboptions.

Converting from one unit to another is also relatively easy.  DataViews 
allow you to create calculated columns that take values from a DataTable 
(or another DataView) and convert them into different values.  If you hook 
up an event handler for an HTML element (like a button), you can switch the 
data around, change chart options, whatever else you need to do, and redraw 
the chart on a click of the button.

Ok, that probably sounded rather complicated, but I promise that it really 
isn't.  Here's an example of all of this in action: 
http://jsfiddle.net/asgallant/LWDP4/1/.  Feel free to mess around with it, 
see what everything does, and to ask any questions you have about the API.

On Tuesday, September 18, 2012 7:41:00 PM UTC-4, Gizamo wrote:
>
> Hello. I'm trying to make something similar to this line graph: 
> http://jsfiddle.net/LuP4K/
>
> The actual chart layout I'm trying to replicate is here: 
> http://wkfluidhandling.com/media/images/performance-curves/psu060-performance-curves-665x435.png
>  (but I'd like to use only Standard or Metric units and allow the user to 
> choose whichever they prefer with a toggle button).
>
> Anyway, it was simple enough to setup in Highcharts, but I can't seem to 
> figure out how to create a GoogleCharts version of it (in part because I am 
> struggling with the API features/language). Can someone please get me 
> started in the correct path?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/cdDl_SpMk80J.
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.

Reply via email to