0

in google chart legend lable in mobile responsive legend is slider ,I need to not silder legend but legend wordwrap.

enter image description here

      var options = {
            legend: {position:"bottom" , alignment: 'top'},
          vAxis: {
                viewWindowMode:'explicit',
            viewWindow: {
                max:<?=$target?>,
                min:0
            }
          },
          seriesType: 'bars',
          series: {3: {type: 'area'}},
          colors: ['CornflowerBlue', 'green', 'red', '#0099c6']
      };
WhiteHat
  • 59,912
  • 7
  • 51
  • 133
J.Tan
  • 11

1 Answers1

0

only available option is legend.maxLines...

Set this to a number greater than one to add lines to your legend. Note: this option currently works only when legend.position is 'top'.

with...

legend.position: 'top'

WhiteHat
  • 59,912
  • 7
  • 51
  • 133