我需要将xAxis设置为以下值:
Values : 63,80,100,125,160,200,250,315,400,500,630,800,1000,1250,1600,2000
当前显示的值:
Values currently: 125,250,375,500,625,750,875,1000,1125,1250,1375,1500,1625,1750,1875,2000
我的图表选项:
var options = {
hAxis: {
minValue: 63,
maxValue: 2000,
gridlines: {
count: 16
},
textStyle: {fontSize: 10},
slantedText:true,
slantedTextAngle:90
}
}
我可以指定值xAxis?
谢谢!
答案 0 :(得分:0)
从Configuration Options,您可以使用hAxis.ticks
...
更改hAxis
选项,如下所示:
var options = {
hAxis: {
gridlines: {count: 16},
textStyle: {fontSize: 10},
slantedText: true,
slantedTextAngle: 90,
ticks: [63,80,100,125,160,200,250,315,400,500,630,800,1000,1250,1600,2000]
}
}