Skip to content

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

@MohamedLEGH

Description

@MohamedLEGH

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions