问题
Here is a google bar chart I am creating: http://jsfiddle.net/nGvdB/
I read up on the Google Bar Chart documentation here but I just cannot figure out how to customize this chart. Specifically, I want this:
On the horizontal axis, I see numbers 0,1,2,3,4. I want the graph only to go from 0 to 3. I have hAxis.maxValue
set to 3 but it still shows till 4. None of my data is greater than
Instead of the horizontal axis labels reading {0,1,2,3}
I want it to read {'','Low','Med','High'}
.
Any help would be greatly appreciated.
回答1:
Using google charts API is quite difficult there is useful jquery library that simplifies the issue http://keith-wood.name/gChart.html
来源:https://stackoverflow.com/questions/8412385/how-can-i-customize-this-google-bar-chart