Google Charts - Avoid showing negative values in yAxis

后端 未结 2 1912
情深已故
情深已故 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:24

    viewWindowMode: "explicit" is deprecated in current version which uses: vAxis.viewWindow.min:

    vAxis: {
        viewWindow: {
            min: 0
        }
    }
    

提交回复
热议问题