Sign in to follow this  
Guest Madhumita

Yaxis default range needs to be integers and not decimals - when no data for chart - MSColumn3DLineDY

Recommended Posts

I am using a Multi-Series Dual-Y Bar/Line chart (MSColumn3DLineDY).

The data on the yaxis-1 can be all nulls. Then the default numbers i see on the axis are decimals and i need them to be integers as decimals does not have a meaning there.

Can you please help me how to do that.

Thanks,

Venkat 

Share this post


Link to post
Share on other sites
Guest Madhumita

Hi Venkat,

Welcome to the FusionCharts Forum .:)

 

Would it be possible for you to attach your XML code along with the screen-shot of the chart?

Awaiting your reply.

Share this post


Link to post
Share on other sites

Hi Madhumita,

Thanks for your reply.

Please find the attached data xml and the screen shot.

I tryed to use (decimals='0') and unable to get what i need.

What i need is the left Y-axis ErrorCount(Scale in image showing as 0.03, 0.06) can be zero for all the days and i need the scale to be integers and not decimals in that case.

<chart bgColor='FFFDDD' showLegend='0' showValues='0' showLabels='1' labelDisplay='ROTATE' slantLabels='1' caption='Week Summary (Error Count - Missed SLA)'  xAxisName='Week'  PYAxisName='Error Count' SYAxisName='Missed SLA' paletteColors='FF7F00,990000'>

<categories>

<category label='SUN'/>

<category label='MON'/>

<category label='TUE'/>

<category label='WED'/>

<category label='THU'/>

<category label='FRI'/>

<category label='SAT'/>

</categories>

<dataset seriesname='ErrorCount'>

<set value='0' toolText='(03/07/2010) - ErrorCount = 0'/>

<set value='0' toolText='(03/08/2010) - ErrorCount = 0'/>

<set value='0' toolText='(03/09/2010) - ErrorCount = 0'/>

<set value='0' toolText='(03/10/2010) - ErrorCount = 0'/>

<set value='0' toolText='(03/11/2010) - ErrorCount = 0'/>

<set value='0' toolText='(03/12/2010) - ErrorCount = 0'/>

<set value='0' toolText='(03/13/2010) - ErrorCount = 0'/>

</dataset>

<dataset seriesName='MissedSLA' parentYAxis='S'>

<set value='0' toolText='(03/07/2010) - MissedSLA = 0'/>

<set value='4' toolText='(03/08/2010) - MissedSLA = 4'/>

<set value='0' toolText='(03/09/2010) - MissedSLA = 0'/>

<set value='0' toolText='(03/10/2010) - MissedSLA = 0'/>

<set value='0' toolText='(03/11/2010) - MissedSLA = 0'/>

<set value='0' toolText='(03/12/2010) - MissedSLA = 0'/>

<set value='0' toolText='(03/13/2010) - MissedSLA = 0'/>

</dataset>

</chart>

2516f266-fcbb-40e8-973a-2063.bmp

Thanks, Venkat

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

You need to set the YAxisMinValue and YAxisMaxValue such that the numDivLines cut the y axis at integral intervals.

Suppose for this you set YAxisMinValue='0' and YAxisMaxValue='3' , then setting numDivLines='2' will give y-axis values as 0,1,2,3.

Share this post


Link to post
Share on other sites

Hi Madhumita,

Thanks for your reply.

This setting(min/max) is just a default and if the real data is out of this range the chart adjust automatically.

This is what i need.

FYI - This is the exact code, as i am using 2 axis(Primary/ Secondary axis).

 PYAxisMinValue='0' PYAxisMaxValue='3' SYAxisMinValue='0' SYAxisMaxValue='3' numDivLines='2'

Thanks,

Venkat

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