BhagyashreeC

Is it possible to have different datasets for different columns

Recommended Posts

Hi,

We are using Fusioncharts for one of our requirement.

We are using a multiseries fusion chart that shows Budget on Y-axis and US States on X- Axis, Further, each state has certain different Line of Business(LOBs). This is being displayed using dataset.

But the LOBs are different for different states. 

For instance, for LA, it can be - Fishery, Housing, Travel

for FL, it can be - Housing, Travel

 

I dont want Fishery to appear for FL. Can this be achieved.

 

If I give 0 value such as <set value='0'> , the columns isnt displayed as required corresponding to Fishery for the particular state- But it shows empty space on the chart.

We dont want this empty space. 

Is there a way to achieve this?

 

 

Thanks for the support.
 

 

Happy FusionCharting,

Bhagyashree

Pega Developer

 

Share this post


Link to post
Share on other sites
Hi

 

No, It is not possible to have different data sets for different columns in Multi Series Column 2D Chart, if value for one data point in a data set is 0 or empty, FusionCharts Suite will leave a blank space for that data point, and that space can't be eliminated. However, according to scenario you described you can use Stacked Column 2D chart to meet your requirements.

 

Please refer to this JSFiddle Sample for the same: http://jsfiddle.net/sikrigagan/zKL3F/309/

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