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

前端 未结 7 965
太阳男子
太阳男子 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条回答
  • 2020-12-11 15:49

    Google changes the API so fast, this is what works today:

    chart.draw(daily, {
        hAxis : {textColor: '#ffffff'},
        [... your other options here ...]
    });
    
    0 讨论(0)
提交回复
热议问题