Setting the padding for the hAxis

15 views
Skip to first unread message

Ron_!

unread,
Jul 2, 2016, 8:43:19 AM7/2/16
to Google Visualization API
Hello,

My chart is working fine as expected except that the hAxis labels have very little or no padding in between the chart itself and the legend. Is there a way to increase it? Thanks for any help!


Image attached.


options:

var options = {
          colors:['rgb(32, 170, 188)', 'rgb(32, 188, 77)'],
          lineWidth:4,
          areaOpacity: 0.15,
          width:$(window).width() * 0.5,
          height:$(window).width() * 0.25,
          animation: {
               "startup": true,
               duration: 1200,
               easing: 'out',
          },
          fontName: 'Open Sans',
          legend: {
            position:'bottom',
          },
          chartArea:{
            width:'90%',
            height:'80%',
          }
        };
Screen Shot 2016-07-02 at 6.33.27 AM.png
Reply all
Reply to author
Forward
0 new messages