Sign in to follow this  
nilesh1021

Bar Chart

Recommended Posts

I have a small issue with a horizontal bar chart. It pulls data from a database and sometimes there is not much datato present and the X Axis values seem to be repeating.

 

I'm not sure if there is some attribute I've missed, but as you can see the XAxis presents the values of 0 1 2 2 3 and the bars end up in an unusualposition.

 

I have attached screenshot for the same.

 

Please help?

 

Thanks

post-28409-0-43197400-1355142286_thumb.png

Edited by nil1021

Share this post


Link to post
Share on other sites

Hello,

 

Setting decimals to 1 is working for me but We do not want to show "decimals" in the horizontal bar chart.

 

Is there another way to do it ???

 

Thanks for help

Edited by nil1021

Share this post


Link to post
Share on other sites

Hi,

 

Hello,

 

Setting decimals to 1 is working for me but We do not want to show "decimals" in the horizontal bar chart.

 

Is there another way to do it ???

 

Thanks for help

 

Please try setting "adjustDiv" to '1' in the <chart> element of the XML and see if this helps.

 

Hope this helps. :)

Share this post


Link to post
Share on other sites

Hi,

 

Thanks Sanjukta,

 

Setting "adjustDiv" to '1' in the <chart> element of the json helps for me.

:)

 

 

Glad that your issue is resolved!

 

Happy FusionCharting! :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this