JqPlot is ticking without decimals

I use jqplot and it gets the default marks:

jqplot screenshot

What should I do to get it without .0 at the end?

+7
source share
1 answer

Since this was really the answer, I will post it as the actual one.

With stringFormat you can format the axis label string and use the sprintf notation, where %d is a signed integer. Since integers do not have decimals, this is probably what you want.

+11
source

All Articles