Sign in to follow this  
Guest Madhumita

Different series length

Recommended Posts

Hello

 

 

 

I'm using MSCombi3D chart with for example two series. It is possible to bind data with series which have different length? For example categories count = 5, series1 count = 5, series2 count = 7 and I want to see both series in full x axis size.

 

Or maybe how to create different categories for all series?

 

 

 

I was searched Forum, Konowledhe Base and I don't found nothing.

 

Please help me

 

 

 

Kind regards,

 

Artek

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Welcome to the FusionCharts Forum.:)

In FusionCharts we can have different series length.For the set where the value is not present we can write <set/>.

So if you have  series1 with length 5 and series2 with length 7 , the last two <set> elements of series1 should be <set/>

I am attaching an example XML of MSCombi3D chart for your reference.

data.xml

Edited by Guest

Share this post


Link to post
Share on other sites

Thanks for fast answer.

 

But what about this case: series length > categories length?

 

It is possible to create second categories collection in the same chart?

 

In my series I using renderAs='Area' and I want to see all series (no matter how long series is) in full axis lenght. How can I do this? Help me, please.

 

 

 

Kind regards,

 

Artek

Share this post


Link to post
Share on other sites
Guest Madhumita

Hi Artek,

I'm afraid that series length can never be greater than the number of categories.

 

However, for empty <category> , you can write <category label=""> , making sure that the number of <set> elements are equal to the number of <categorty> elements.

 

In reference to your second query, it is not possible to create second categories collection in the same chart. Each chart has only one <categories> element.

 

However, depending on your reqirement, there might be a workaround for this. You opt to show two different categories name on the chart by using a line-break character between the category names in the label attribute as show in the example below.

 

Ref.- <category label="first second"/>

 

Thereby, virtually you can have two categories in the chart. 

Note: Please note that both will be treated as a single category and not as two separate ones.

The series values are always shown in full axis length depending on the values passed.

Hope this helps.:)

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