Sign in to follow this  
Guest Madhumita

How to create line graph with given data

Recommended Posts

Hi,

I need to create a line graph with following data

Name  Jan feb march   april  may jun...dec

abc 10 20   20 40   50........100

cde 20 40   60   80 ...........

Pleas help me how can i creat a line graph with above data. Its very urgent as i have to show it to client.

the line graph should be according to months.

jan .. Dec

 Pleas help

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

For this you require a multi-series line chart(MSLine.swf).

The example XML:

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

 

 <categories>

<category label='Jan' />

<category label='Feb' />

<category label='Mar' />

<category label='Apr' />

<category label='May' />

<category label='Jun' />

<category label='Jul' />

<category label='Aug' />

<category label='Sep' />

<category label='Oct' />

<category label='Nov' />

<category label='Dec' />

 </categories>

 

 <dataset seriesName='2006'>

<set value='27400' />

<set value='29800'/>

<set value='25800' />

<set value='26800' />

<set value='29600' />

<set value='32600' />

<set value='31800' />

<set value='36700' />

<set value='29700' />

<set value='31900' />

<set value='34800' />

<set value='24800' />

 </dataset>

 

 <dataset seriesName='2005'>

<set value='10000'/>

<set value='11500'/>

<set value='12500'/>

<set value='15000'/>

<set value='11000' />

<set value='9800' />

<set value='11800' />

<set value='19700' />

<set value='21700' />

<set value='21900' />

<set value='22900' />

<set value='20800' />

 </dataset>

</chart>

Please refer to the online documentation link below:

http://www.fusioncharts.com/docs/Contents/ChartSS/MSLine.html

I hope this helps 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