score:0

First declare a variable for y-axis, then override max and min values. Please see the example below:

  var y = chart.addMeasureAxis("y", "Horsepower");
  y.overrideMin = 0;
  y.overrideMax = 250;

score:6

Using overrideMax should work. In your question you write that you tried x.overrideMax is that a typo in the question? It should be y.overrideMax for the y axis:

y.overrideMax = 100;

Related Query

More Query from same tag