You can only have an axis on the right if the chart has more than one data 
series (as the left axis must have at least one data series assigned to it).

If you have more than one data series, then you can assign them to 
different axes using the 'series' option.  This option takes either an 
array of objects or an object with properties equal to the data series. 
 Set the 'targetAxisIndex' property of each data series object to assign 
them to one of the vAxes:

// assign the first data series to the left axis, and the next two data 
series to the right axis
series: {
    0: {targetAxisIndex: 0},
    1: {targetAxisIndex: 1},
    2: {targetAxisIndex: 1}
}​ 

The vAxes option takes either an array or an object with properties equal 
to the axis index; each element contains an object conforming to the vAxis 
option:

vAxes: {
    0: {
        title: 'left axis'
    },
    1: {
        title: 'right axis'
    }
}

On Thursday, April 19, 2012 12:42:22 PM UTC-4, hassan wrote:
>
> i m developing google chart api "area chart". 
>
> how to Yaxis at right side of the chart.... 
> please help me.

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