Try setting the min/maxValue options for the right vAxis:
vAxes: {
1: {
title: '% ROI',
textStyle: {
color: 'red'
},
format: '#,##%',
minValue: -20,
maxValue: 60
}
}
If those don't work, use the viewWindow.min/max options for the right vAxis.
On Friday, July 6, 2012 9:33:08 AM UTC-4, Maha Istanbouly wrote:
>
> I am currently building a Bar & Line chart using the ComboChart module and
> everything seems to be working just fine, except that the origins for the
> first and second Y axes are not aligned (see image attached). I have played
> with the container size and it doesnt really seem to be making much of a
> difference.
>
> I have set up the secondary axis using the following script, and cannot
> figure out how to make the origins line up.
>
> series:{3:{targetAxisIndex:1,type: "line" }}, vAxes:{1:{title:'%
> ROI',textStyle:{color: 'red'},format:'#,##%'}}
>
> Am I missing something? I have only just started using the Google
> Visualisation API, so any assistance would be greatly appreciated.
>
> Thanks in advance!
>
--
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/-/FRvR6K3u-18J.
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.