我有一些代码将我的 V 轴比例设置为 0 - 4。但是我删除了它,现在我不记得我是如何让它再次工作的。请参阅下面的图表代码,以及我认为我以前使用过的代码。
这是我想我以前用过的...
vAxis: {
viewWindowMode:'explicit',
viewWindow: {
max:100,
min:99.8
}
}
下面是我的图表
// Create a line chart, passing some options
var LineChart = new google.visualization.ChartWrapper({
'chartType': 'LineChart',
'containerId': 'chart_div',
'options': {
//'width': 300,
'height': 300,
'legend': 'top',
'backgroundColor': '#eeeeee',
'colors': [ '#8ea23f'],
'pointSize': 5,
'title': 'Selected Site and Species abundance over time'
},
'view':{'columns':[0,2]},
});