How do you remove the x-axis from a bar chart produced by Google's Visualization API?

前端 未结 7 971
太阳男子
太阳男子 2020-12-11 15:00

Referring to the kind of chart shown here: http://code.google.com/apis/visualization/documentation/gallery/barchart.html

There doesn\'t seem to be a simple switch, a

7条回答
  •  Happy的楠姐
    2020-12-11 15:29

    I was able to remove the label in the material version of the chart by removing the string in my datatable.

    Before:

    data.addColumn('string', 'Date');
    

    After:

    data.addColumn('string', '');
    

提交回复
热议问题