In Flot.js, bar graphs and line graphs have numbers as the coordinates in the x and y axis by default.

How can you make the coordinates such that the numbers are only integers or at least only the integers are visible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out the
minTickSizeoption from the documentation:So in your graph options, you would specify it like this:
See it working here: http://jsfiddle.net/ryleyb/g2CTz/