Sign in to follow this  
sawe

Different Number Of Points In Multi Dataset Chart

Recommended Posts

I have 3 different graphs that i need to combine to show in one graph as separate lines. My data looks like this:

 

First graph (has 2 points)

Month Value

January 10

June 30

 

 

Second graph (has 3 points)

Month Value

April 10

July 30

Sep 40

 

Now i need to display these 2 graphs as one graph with 2 different lines. so far i have this

I created 5 categories:

<category label='January '/>

...

<category label=' Sep '/>

 

Then for each graph, i create a dataset with blanks were there is no corresponding value. e.g.

First Dataset

<set value='10' />

<set />

<set value='30' />

<set />

<set />

 

 

Problem is that the graph only plots points that are adjacent so the first line will only show the points without the line.

The second graph will show a point for April, then a line from Jul to Sep.

 

 

I would like to have all lines show as does in the separate graphs. Please assist.

Edited by sawe

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

Welcome to the FusionCharts Forum smile.gif

 

Thank you for the post.

 

Can you please try using the 'connectNullData' attribute of the chart and set it to 1 ?

 

Please find attached screen shot of the chart rendered when the 'connectNullData' attribute is set to 1.

 

Hope this helps !!

 

Happy FusionCharting biggrin.gif

post-23884-0-54430200-1324611457_thumb.png

Edited by Bindhu

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Glad to know that you have managed to resolve your problem.

 

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