小编Sko*_*kot的帖子

设置固定轴值

我有一些代码将我的V轴刻度设置为0 - 4.然而我删除了它,现在我不记得我是如何让它再次工作的.请参阅下面的我的图表代码,以及我之前使用过的代码.

这就是我以前用过的......

vAxis: { 
viewWindowMode:'explicit',
viewWindow: {
    max:100,
    min:99.8
}
}
Run Code Online (Sandbox Code Playgroud)

下面是我的图表

          // 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]},


    });
Run Code Online (Sandbox Code Playgroud)

google-visualization

4
推荐指数
1
解决办法
9787
查看次数

标签 统计

google-visualization ×1