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

Bar not lining up with the grid

Was it helpful?

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.

Plot with y-axis format string removed

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