Overriding y axis minimum displays several duplicate labels and creates display glitches

StackOverflow https://stackoverflow.com/questions/22917287

  •  29-06-2023
  •  | 
  •  

Frage

When I override the y axis' minimum, it will duplicate several labels. Also, it creates a display glitch on the x axis too.

Essentially, if I remove line 42, the graph will display properly:

var axis = myChart.addMeasureAxis("y", "SPCT");
//axis.overrideMin = 0.9;

Example http://pastebin.com/RQLfAduC

War es hilfreich?

Lösung

Change the following line

var axis = myChart.addMeasureAxis("y", "SPCT");

to

var axis = myChart.addCategoryAxis("y", "SPCT");

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top