Sorry Fernando, the chart layout is limited to showing either a right-side
axis or a legend on the right, but not both.

On Thu, May 7, 2015 at 4:00 PM, Fernando Iwamoto <[email protected]
> wrote:

> When comment the series and vAxes to make my right y-axis appear, the
> legend on the right will be removed. Theres is another workaround?
>
> Im calling my chart like this:
>
> google.load("visualization", "1", {packages:["corechart"]});
> google.setOnLoadCallback(drawChart);
>
> But when I set up the options like this in my function drawChart:
>
> var options = {
>         series: {
>             0: { axis: 'deep'},
>             8: { axis: 'ppm' ,targetAxisIndex: 1, color:'none' }
>         },
>         vAxes:{
>             0: { title:'Deep(m)' },
>             1: { title:'VOC(ppm)' }
>         },
>         enableInteractivity: false,
>         isStacked: true,
>         legend: { position: 'right' },
>      };
>
> var chart = new
> google.visualization.ColumnChart(document.getElementById('chart'));
> chart.draw(data, options);
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Chart 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-chart-api.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to