Sign in to follow this  
shereen

Not Able To Draw Anchors For The Area Chart In Combination Chart - Dual Y Axis

Recommended Posts

Hello -

I see in the documentation that we can have anchors for an area chart...

however Please advise after looking into the contents of data.xml which I am using to draw a combination - dualY axis chart, that I am not able to have anchors for the area chart

 

<chart palette="2" showBorder='0' placeValuesInside='1'

caption="Sales by Product" subCaption="March 2006" showValues="1"

divLineDecimalPrecision="1" limitsDecimalPrecision="1" PYAxisName="Amount" SYAxisName="Quantity"

numberPrefix="$" sNumberSuffix="%" formatNumberScale="0" drawAnchors="1">

<categories>

<category label="A"/>

<category label="B"/>

<category label="C"/>

<category label="D"/>

</categories>

<dataset seriesName='column'>

<set value='5'/>

<set value='7'/>

<set value='9'/>

<set value='20'/>

</dataset>

<dataset drawAnchors="1" seriesName='area' showValues="0" showPlotBorder='0' renderAs="Area" parentYAxis="S" numberSuffix="%">

<set value='5'/>

<set value='7'/>

<set value='9'/>

<set value='20'/>

</dataset>

</chart>

 

Thanks

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Please find the modified code below:

 

 

<chart palette="2" showBorder='0' placeValuesInside='1'

caption="Sales by Product" subCaption="March 2006" showValues="1"

divLineDecimalPrecision="1" limitsDecimalPrecision="1" PYAxisName="Amount" SYAxisName="Quantity"

numberPrefix="{:content:}quot; sNumberSuffix="%" formatNumberScale="0" >

<categories>

<category label="A"/>

<category label="B"/>

<category label="C"/>

<category label="D"/>

</categories>

<dataset seriesName='column'>

<set value='5'/>

<set value='7'/>

<set value='9'/>

<set value='20'/>

</dataset>

<dataset drawAnchors="1" anchorAlpha="100" seriesName='area' showValues="0" showPlotBorder='0' renderAs="Area" parentYAxis="S" numberSuffix="%">

<set value='5'/>

<set value='7'/>

<set value='9'/>

<set value='20'/>

</dataset>

</chart>

 

Hope this helps.smile.gif

Edited by Angie

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Thanks for your appreciation.

 

We are glad to know that your issue has been resolved.

 

Happy FusionCharting!biggrin.gif

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