You can apply any of the vAxis options
<https://google-developers.appspot.com/chart/interactive/docs/gallery/linechart#Configuration_Options>
to each axis individually. The vAxes[axis index].textStyle option is most
likely to be what you want to use:
vAxes: {
0: {
// options for the left vAxis
},
1: {
// options for the first right vAxis
textPosition: 'in',
textStyle: {
color: '#ff0000'
}
},
2: {
// options for the second right vAxis
textPosition: 'out'
}
}
On Monday, August 25, 2014 9:40:23 AM UTC-4, Schabagh wrote:
>
> Hi Andrew,
>
> thanks a lot. That's good. But how can I now know which value belongs to
> which axis. Is it possible to style the right axes?
>
> Am Montag, 25. August 2014 14:48:01 UTC+2 schrieb Andrew Gallant:
>>
>> You can get more than 2, but the extras don't work particularly well.
>> The first axis appears on the left, the second and subsequent axes all
>> stack up on the right. From a practical standpoint, you could have 3, with
>> one of the two on the right having the "textPosition" option set to "in"
>> and the other having it set to "out" so the axis labels don't overlap.
>>
>> vAxes: {
>> 0: {
>> // options for the left vAxis
>> },
>> 1: {
>> // options for the first right vAxis
>> textPosition: 'in'
>> },
>> 2: {
>> // options for the second right vAxis
>> textPosition: 'out'
>> }
>> }
>>
>> On Monday, August 25, 2014 4:58:35 AM UTC-4, Schabagh wrote:
>>>
>>> Hi,
>>>
>>> I need more than two Y-Axes in my Line Chart. Is that possible? How?
>>>
>>> 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.
For more options, visit https://groups.google.com/d/optout.