jqplot bars not lining up with grid
-
28-10-2019 - |
Question
Does anyone know why some of the bars are not lining up in this jqplot bar graph? You can find this at http://www.vonlay.com/jollymeter/app
Solution
I figured it out, my y-axis format string was masking the fact that the grid lines weren't on integer values.
yaxis: { min: 0, tickOptions: { formatString: "%d" } }
This topic talks about what I was trying to achieve and the issue that I had unintentionally caused.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow