Sign in to follow this  
Danlop

msstackedcolumn2d - issue with X-axis labels

Recommended Posts

Hello,

 

I am trying to re-create this chart (original.gif) in Fusion Charts but the best I can do is this (fusion_charts.gif).

 

I am using msstackedcolumn2d and the main issue is that in the original chart, I have the years on the X-axis and then a sub-group of imports and exports. The "import" and "export" labels don't need to be displayed inside the columns; it would be fine if they could be displayed below the chart, on the x-axis, above the years.

 

Am I using the wrong type of chart? I've gone through all the chart types and don't see one that uses sub-sections on the X-axis.

 

Please help!

 

Thanks and have a great day!

 

post-66791-0-27773600-1438868526_thumb.gif

 

post-66791-0-09053400-1438868527_thumb.gif

Share this post


Link to post
Share on other sites

Update:

 

I've been able to work out the initial problem by adding space between the chart and the legend and using text annotations to add the words "import" and "export".

 

Now the only remaining issue is in the legend. It appears that I have to have "Travel" twice, "Commercial services" twice, and "Transportation and government services" twice.

 

Is there a way to set up my chart to only display each of those only once?

 

Thank you very much!

 

lLaBh7B.gif

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum.

 

The legend comes twice as Travel since you have created that category for both the "Import" and "Export" option.

 

You can differentiate by giving the category name as Export-Travel and Import-Travel.

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hello and thank you for welcoming me to the forums, Vishalika!

 

It's really too bad that there does not seem to be a true solution to this problem, as it may be a deal breaker on whether or not we will be using Fusion Charts.

 

I even tried placing an annotation shape at the same location as some of those legend items to hide them, but the annotation shapes appear below the legend only. If I could move the annotation shapes above the legend, then that could be a possible solution but I don't know how to do this and using "showBelow": "0", does not help.

 

Are you certain that there is no solution?

 

Is there any way to have sub-categories along the X-axis?

 

Thanks!

Share this post


Link to post
Share on other sites

Hi,

 

Can you please share any JSFiddle link for the issue?

 

Also, currently subcategories along X-axis the subcategories are not natively supported but can be created using Annotations.

 

Awaiting response.

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