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!