XChart icon indicating copy to clipboard operation
XChart copied to clipboard

Histogram : How to have only integer values in x axis ?

Open MohamedLEGH opened this issue 1 year ago • 0 comments

Hello, I'm displaying an histogram of a distribution and I only have integer data in my distribution. Unfortunately Jfreechart give me an histogram with decimal ticks in the x axis.

I didn't find in the documentation a way to specify to the Histogram or Chart builder that I only want integer value for the x ticks.

Do you have any ideas how to solve this ?

Thanks, Mohamed Amine

MohamedLEGH avatar Jan 09 '24 04:01 MohamedLEGH