Google Charts - Avoid showing negative values in yAxis

后端 未结 2 1914
情深已故
情深已故 2021-02-18 23:38

I have the following code:

function drawVisualization() {
  // Create and populate the data table.
  var data = google.visualization.arrayToDataTable([
    [\'Ye         


        
2条回答
  •  执笔经年
    2021-02-19 00:26

    You need to set viewWindowMode as explicit

    vAxis: {viewWindowMode: "explicit", viewWindow:{ min: 0 }}
    

提交回复
热议问题