I have a graph whose values along the Y axis can vary greatly. The only information I have is:
- all values are integers
- value> = 0
Now, if I have only a few values with very low volatility, for example (let's take extremes) [0,0,0,0,0,0,0] I got duplicate Y-axis values. It looks like this:
| 1+ | 1+ | 1+ | 0+ | 0+ | 0+-----------------------------------------
I would like to make jqPlot skip repeating values, maybe only display 2 ticks - 0.1 on the Y axis (lowest and highest).
Any ideas? Adding my code for reference:
yaxis:{ label:'Count', padMin: 0, labelRenderer: $.jqplot.CanvasAxisLabelRenderer, tickRenderer: $.jqplot.CanvasAxisTickRenderer, tickOptions:{ formatString:'%d' } }
source share