How may I scale the vertical axis of a coluim graph from 0 to 100 even if my datas are between 50 and 60.
My code is :
var sheet = SpreadsheetApp.getActiveSheet();
var chart = sheet.newChart()
.setPosition(9, 1, 0, 0)
.setChartType(Charts.ChartType.COLUMN)
.addRange(sheet.getRange("A2:C7"))
.setOption('width', 850)
.setOption('height',500)
.build();
sheet.insertChart(chart);
I have tried :
.setOption('vAxis.maxValue',100)
.setOption('vAxis.minValue',0)
and also :
.setRange(0,100)
But it doesn't work.