hi,

original :
                        vAxes:{
                                0:{textStyle:{color: 'blue'}, 
title:'Turnover'},
                                1:{textStyle:{color: 'red'}, title:'CPA'},
                                2:{textStyle:{color: 'grey'}, 
title:'Profits'},
                        }

Convert it to  :

                        vAxes:{
                                0:{textStyle:{color: 'blue'}, 
title:'Turnover'},
                                1:{textStyle:{color: 'red'}, 
title:'CPA',*textPosition: 
'in'*},
                                2:{textStyle:{color: 'grey'}, 
title:'Profits',*textPosition: 'out'*},
                        }

best regards,
hanjar
May combine with setting chart area width to expand the label/legend area

chartArea -> width:"80%"


On Thursday, April 5, 2012 9:14:02 PM UTC+7, Tjeerd Kramer wrote:
>
> Hi, 
>
> I am using a Combo chart to display 3 metrics, all with very different 
> ranges. I am capable of adding all 3 metrics to the graph, but the 
> only thing I can't get to work properly is the display position of the 
> yAxes scales. 
>
> Part of the code: 
>
>                 var options = { 
>                         series:{ 
>                                 0:{targetAxisIndex:0, lineWidth: 1, 
> pointSize: 3}, 
>                                 1:{targetAxisIndex:1, lineWidth: 1, 
> curveType: 'function',type: 
> "line"}, 
>                                 2:{targetAxisIndex:2, lineWidth: 1, color: 
> 'grey'} 
>                         }, 
>                         vAxes:{ 
>                                 0:{textStyle:{color: 'blue'}, 
> title:'Turnover'}, 
>                                 1:{textStyle:{color: 'red'}, title:'CPA'}, 
>                                 2:{textStyle:{color: 'grey'}, 
> title:'Profits'}, 
>                         } 
>                 }; 
>
> The problem here is that the scales for CPA and profits are written on 
> top of eachother. I'd like to be able to give them a margin and send 
> either one 100px to the right. Can this be achieved? 
>
> Many thanks


On Thursday, April 5, 2012 9:14:02 PM UTC+7, Tjeerd Kramer wrote:
>
> Hi, 
>
> I am using a Combo chart to display 3 metrics, all with very different 
> ranges. I am capable of adding all 3 metrics to the graph, but the 
> only thing I can't get to work properly is the display position of the 
> yAxes scales. 
>
> Part of the code: 
>
>                 var options = { 
>                         series:{ 
>                                 0:{targetAxisIndex:0, lineWidth: 1, 
> pointSize: 3}, 
>                                 1:{targetAxisIndex:1, lineWidth: 1, 
> curveType: 'function',type: 
> "line"}, 
>                                 2:{targetAxisIndex:2, lineWidth: 1, color: 
> 'grey'} 
>                         }, 
>                         vAxes:{ 
>                                 0:{textStyle:{color: 'blue'}, 
> title:'Turnover'}, 
>                                 1:{textStyle:{color: 'red'}, title:'CPA'}, 
>                                 2:{textStyle:{color: 'grey'}, 
> title:'Profits'}, 
>                         } 
>                 }; 
>
> The problem here is that the scales for CPA and profits are written on 
> top of eachother. I'd like to be able to give them a margin and send 
> either one 100px to the right. Can this be achieved? 
>
> Many thanks


On Thursday, April 5, 2012 9:14:02 PM UTC+7, Tjeerd Kramer wrote:
>
> Hi, 
>
> I am using a Combo chart to display 3 metrics, all with very different 
> ranges. I am capable of adding all 3 metrics to the graph, but the 
> only thing I can't get to work properly is the display position of the 
> yAxes scales. 
>
> Part of the code: 
>
>                 var options = { 
>                         series:{ 
>                                 0:{targetAxisIndex:0, lineWidth: 1, 
> pointSize: 3}, 
>                                 1:{targetAxisIndex:1, lineWidth: 1, 
> curveType: 'function',type: 
> "line"}, 
>                                 2:{targetAxisIndex:2, lineWidth: 1, color: 
> 'grey'} 
>                         }, 
>                         vAxes:{ 
>                                 0:{textStyle:{color: 'blue'}, 
> title:'Turnover'}, 
>                                 1:{textStyle:{color: 'red'}, title:'CPA'}, 
>                                 2:{textStyle:{color: 'grey'}, 
> title:'Profits'}, 
>                         } 
>                 }; 
>
> The problem here is that the scales for CPA and profits are written on 
> top of eachother. I'd like to be able to give them a margin and send 
> either one 100px to the right. Can this be achieved? 
>
> Many thanks


On Thursday, April 5, 2012 9:14:02 PM UTC+7, Tjeerd Kramer wrote:
>
> Hi, 
>
> I am using a Combo chart to display 3 metrics, all with very different 
> ranges. I am capable of adding all 3 metrics to the graph, but the 
> only thing I can't get to work properly is the display position of the 
> yAxes scales. 
>
> Part of the code: 
>
>                 var options = { 
>                         series:{ 
>                                 0:{targetAxisIndex:0, lineWidth: 1, 
> pointSize: 3}, 
>                                 1:{targetAxisIndex:1, lineWidth: 1, 
> curveType: 'function',type: 
> "line"}, 
>                                 2:{targetAxisIndex:2, lineWidth: 1, color: 
> 'grey'} 
>                         }, 
>                         vAxes:{ 
>                                 0:{textStyle:{color: 'blue'}, 
> title:'Turnover'}, 
>                                 1:{textStyle:{color: 'red'}, title:'CPA'}, 
>                                 2:{textStyle:{color: 'grey'}, 
> title:'Profits'}, 
>                         } 
>                 }; 
>
> The problem here is that the scales for CPA and profits are written on 
> top of eachother. I'd like to be able to give them a margin and send 
> either one 100px to the right. Can this be achieved? 
>
> Many 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/-/FH0N-najdHQJ.
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