KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

BarChart - Integer values on the X axis #820

Closed Alkemy SEE opened this topic on on Apr 19, 2019 - 1 comments

Alkemy SEE commented on Apr 19, 2019

Hello,

I use BarChart to visually display my data. And it sometimes displays double values (the first image) on the X axis instead of integers (the whole numbers ).

Since I need to have only integer values on the X axis (the second image), is there any possibility to set it in the BarChart?

Thanks in advance!

Alkemy SEE commented on Apr 23, 2019

I added code inside options array and it worked.

     "hAxis"=>array(
            "format"=>"#"
        )

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed
solved

None