Sign in to follow this  
peris

Need to display only whole number in y-axis

Recommended Posts

Please check the following screen shot. I need to display y axis only whole number(1,2,3,4,5,6,7,8,9,.... etc). But now it shows(0.9, 0.95, 1, 1.05,1.1,1.15).

fecdac11-c923-4047-9236-9151.JPG

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Could you please try adding <chart.. decimals='0' ..> and try again?

 

 

 

I hope this helps. ;)

Share this post


Link to post
Share on other sites

<chart

caption='$caption' xAxisName='$xAxis' yAxisName='$yAxis' seriesNameInToolTip='1' labelDisplay='Rotate' slantLabels='1' canvasPadding='50' lineThickness='1' showValues='0' formatNumberScale='0' anchorRadius='2' decimals='0' divLineAlpha='30' divLineColor='CADCE6' divLineIsDashed='1' showAlternateHGridColor='1' alternateHGridColor='000000' shadowAlpha='10' labelStep='$labelStep' numvdivlines='5' chartRightMargin='35' bgColor='CADCE6,FOFOFO' bgAngle='270' bgAlpha='100,0' alternateHGridAlpha='5' setAdaptiveYMin='1' exportEnabled='1' exportAtClient='0' exportFileName='CEM4Mobile' exportAction='download' exportHandler='$imageURL'> </chart>

I have added decimals='0', but the problem is continue . So please check my <chart> tag and guide me.

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello Peris,

 

 

 

The configuration of the Y-axis values are dependent on the data values that are provided in the <set> element.

 

 

 

The chart itself calculates the Y-axis div values and they can not be modified beyond a few parameters like numDivLines etc, as of now.

 

 

 

;)

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