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

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

  •  29-06-2023
  •  | 
  •  

Question

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

Was it helpful?

Solution

Change the following line

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

to

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top