Material LineChart change Legend position

19 views
Skip to first unread message

Ernesto López

unread,
Nov 14, 2016, 1:13:20 PM11/14/16
to Google Visualization API
Hi Everyone:
I'm starting to use Material LineChart instead of Classic LineChart, but I found a problem when I tried using

MaterialOptions= {
            width
: width,
            height
: 400,
            colors
: ['#db3236', '#4885ed'],
            dataOpacity
: 0.3,
            legend
: {
                position
: 'top',
                textStyle
: {
                    fontSize
: 12
               
}
           
}            series: {
               
0: {axis: 'Left'},
               
1: {axis: 'Right'},
           
},
            axes
: {
                x
: {
                   
0: {label: horizontal_label}
               
},
                y
: {
                   
Left: {label: left_label},
                   
Right: {label: right_label}
               
}
           
}

But the chart legend never moves. Thank you for your help.
Reply all
Reply to author
Forward
0 new messages