How do I make the x-axis display only integers instead on jqPlot?
Currently it reads:
0.5, 1, 1.5, 2, 2.5, etc.
I want to force it to only display integers in the x-axis labels.
How do I make the x-axis display only integers instead on jqPlot?
Currently it reads:
0.5, 1, 1.5, 2, 2.5, etc.
I want to force it to only display integers in the x-axis labels.
You might need to specify a format string:
axes: {
xaxis: {
tickOptions: {
formatString: "%d"
}
}
}