Sign in to follow this  
Guest Madhumita

y axis labels

Recommended Posts

Hi, There is another problem I am facing,

 

Some times my data to be plotted is 0 or 1 and the metric is such that it can be only a whole number.

 

This means that I am plotting only whole numbers, in this case I don't want my y axis labels to show decimals. The problem starts when data to be plotted is 0 or 1. In case of 0 my y axis labels come as 0 0 0 0. and in case of 1 they come as 0 0 1 1.

 

I am sure there must be a way where I can plot 0 or 1 with y axis labels 0 1 2 3 4. Can you please let me know such attribute. I have tried most of the permutation and combination to achieve that but to no avail.

 

 

 

Regards

 

Saurabh

chart.xml

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Could you please try setting yAxisMinValue='0' , yAxisMaxValue='4' and numDivLines='3' in the <chart> element?

 

Note, that if only a set value of 0 is present the yAxisMaxvalue will be pushed further.

 

Hope this helps.

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