Set the series.<series index>.targetAxisIndex option.  Axis index 0 is the 
left axis, index 1 is the right axis.  Set the axis options using the 
vAxes.<axis index> options (each takes the same options as are available to 
vAxis).  Example:

series: {
    0: {
        // use the left axis for the first data series
        targetAxisIndex: 0
    },
    1: {
        // use the right axis for the second data series
        targetAxisIndex: 1
    }
},
vAxes: {
    0: {
        title: 'Left Axis'
    }
    1: {
        title: 'Right Axis'
    }
}

On Friday, October 26, 2012 3:14:48 AM UTC-4, Lei Gao wrote:
>
>      How to get dual-axis chart in google chart ?  thanks. 
>

-- 
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/-/m2DSXQ18WpUJ.
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