I have this Column Chart using Google\'s Visualization Chart API tools. How would I make it so the y-
var max=Math.max(1,10,15,20);(u have to pass the values what the values u have)
var maxvalue= max / 4;
var res=Math.floor(maxvalue);
res=res+1;
var remin= max % 4;
if(res != 0) {
maxvalue=(res * 4);
}
else
maxvalue= 4;
use the above code its working fine for me.
Simply use hAxis.format
example :
hAxis: {minValue:0,format:'0'},
format 0 = Digit