Sign in to follow this  
satyajit

Single Category Multiple Datasets With Msbar2D.swf

Recommended Posts

Below shown xml works good for two categories with Multi-series Bar 2D chart (MSBar2D.swf )

<chart caption='Business Results 2005 v 2006' xAxisName='Month' yAxisName='Revenue' showValues='0' numberPrefix='$'>

<categories>

<category label='Jan' />

<category label='Feb' /></categories>

<dataset seriesName='2006'>

<set value='27400' />

<set value='29800' />

</dataset>

 

<dataset seriesName='2005'>

<set value='10000'/>

<set value='11500'/>

</dataset>

 

<trendlines>

<line startValue='26000' color='91C728' displayValue='Target' showOnTop='1'/>

</trendlines>

 

<styles>

<definition>

<style name='CanvasAnim' type='animation' param='_xScale' start='0' duration='1' />

</definition>

<application>

<apply toObject='Canvas' styles='CanvasAnim' />

</application>

</styles>

</chart>

 

When I edit the above XML for single category and multiple dataset values then it shows value for only one dataset value.

Please suggest what needs to be done.The graph type is MSBar2D.swf

 

<chart caption='Business Results 2005 v 2006' xAxisName='Month' xAxisNamePadding='5px' plotSpacePercent='20%' yAxisName='Revenue' showValues='0' numberPrefix='$'>

<categories>

<category label='Jan' />

</categories>

<dataset seriesName='2006'>

<set value='27400' />

</dataset>

<dataset seriesName='2005'>

<set value='10000'/>

</dataset>

<trendlines>

<line startValue='26000' color='91C728' displayValue='Target' showOnTop='1'/>

</trendlines>

<styles>

<definition>

<style name='CanvasAnim' type='animation' param='_xScale' start='0' duration='1' />

</definition>

<application>

<apply toObject='Canvas' styles='CanvasAnim' />

</application>

</styles>

</chart>

 

 

 

 

 

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi satyajit,

 

Thanks for the post.

 

I am afraid. The XML data provided by you is working fine. (see attached screenshot: demo.PNG)

 

Please conform the version of FusionCharts you are using ?

If you are using FusionCharts before V3.2.2 then download the latest from: http://www.fusioncharts.com/download/trials/ and then copy the .js files to your chart folder.

 

Hope this helps!!

 

Happy FusionCharting :)

post-23588-0-85779100-1323690792_thumb.png

Share this post


Link to post
Share on other sites

Hi satyajit,

 

Thanks for the post.

 

I am afraid. The XML data provided by you is working fine. (see attached screenshot: demo.PNG)

 

Please conform the version of FusionCharts you are using ?

If you are using FusionCharts before V3.2.2 then download the latest from: http://www.fusioncha...ownload/trials/ and then copy the .js files to your chart folder.

 

Hope this helps!!

 

Happy FusionCharting :)

 

 

Thanks a lot. I have replaced the js file with the one downloaded from the above mentioned URL. It is working great.

Once again Thank You

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