Sign in to follow this  
kangmi kim

about PYAxisMinValue

Recommended Posts

Hi

 

it's not possible to set PYAxisMinValue(FOR stacked column graph) but it is possible to set others (PYAxisMaxValue,

SYAxisMinValue, SYAxisMaxValue).

I want both the Primary and secondary y-axis to start with same minimum value.

 

The XML looks like this:

 <chart caption='Annual Revenue' subcaption='In Million $' xaxisname='Year' decimals='0' numberPrefix='$'

numberSuffix='M' sNumberSuffix='%25'

PYAxisMinValue='5'

 PYAxisMaxValue='120' 

SYAxisMinValue='5'

SYAxisMaxValue='120'

 setAdaptiveSYMin='1' showPlotBorder='1' palette='3' useRoundEdges='1'>

<categories font='Arial' fontSize='12' fontColor='000000'>

<category label='2001' /> <category label='2002' /> <category label='2003' /> <category label='2004' />

<category label='2005' />

 </categories>

<dataset>

 <dataSet seriesName='Product A' color='AFD8F8' showValues='0'>  <set value='30' /> <set value='26' /> <set

value='29' /> <set value='31' />  <set value='34' />

</dataSet>

 <dataSet seriesName='Product B' color='F6BD0F' showValues='0'>  <set value='21' /> <set value='28' /> <set

value='39' /> <set value='41' /> <set value='24' /> 

  </dataSet>

 </dataset>

 <dataSet>

 <dataset seriesname='Service A' color='8BBA00' showValues='0'>  <set value='27' /> <set value='25' /> <set

value='28' /> <set value='26' />  <set value='10' />

   </dataset>

 <dataset seriesname='Service B' color='A66EDD' showValues='0'>  <set value='17' /> <set value='15' /> <set

value='18' />  <set value='16' /> <set value='10' />

 </dataset>

 <dataset seriesname='Service C' color='F984A1' showValues='0'>  <set value='12' /> <set value='17' /> <set

value='16' /> <set value='15' /> <set value='12' /> 

  </dataset>

 </dataSet>

 <lineSet seriesname='Cost as % of Revenue' showValues='0' lineThickness='4'>  <set value='57' /> <set value='68' />

<set value='79' /> <set value='73' /> <set value='80' /> 

 </lineSet> 

</chart>

Best Regards

Gangmi

 

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Gangmi,

Welcome to FusionChart forum. :)

For a stacked chart the YAxisMinValue is set to zero(by default) as otherwise it will lead to the misrepresentation of data.

So, we generally use positive values for a stacked chart and zero as the minimum value for the Y-axis.

For example- If you have the YAxisMinValue set at 5 and the value of the dataPlots are 10 and 20 then it will show 5 for the dataplot stacked below the dataplot with the value 20 instead of showing the value as 10.

However, if you send us the order id for the chart at spp[email protected] then we can make a custom chart for you setting both the Primary and secondary y-axis to start with same minimum value(as per your requirement).

Hope this helps.

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Gangmi,

Thank you for your reply.

We applogize for the inconvinience.

Could you please send us the order id at [email protected] so that we can make a custom chart for you setting both the Primary and secondary y-axis to start with same minimum value(as per your requirement)?

Waiting for your reply. :hehe:

 

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey Gangmi,

 

 

 

Thank you for sending us the mail.

 

 

 

We'll look into this and get back to you shortly. :)

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello Gangmi,

 

 

 

We are looking into this issue. You will receive a reply on this shortly. :)

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