indagation

Multi-series Stacked Column w/ subcategories

Recommended Posts

I am trying to create a chart that looks something like the attached image that was created by Tableau. The best I seem to be able to do is the attached screenshot. The issue that I'm concerned about is getting a "subcategory" label. You can see on the Tableau image that the data is labeled by grade and test type, "MATH" or "ELA"

I am using msstackedcolumn2d. I know that I can hover over the dataseries to see which are "MATH" and which are "ELA", but I would like to be able to print the charts and have it visible. So I guess what I want to do is add a label to the x axis for each dataset. Is this possible?

 

 

Screen Shot 2019-06-25 at 9.09.11 AM.png

Screen Shot 2019-06-25 at 9.15.48 AM.png

Share this post


Link to post
Share on other sites

Hi,

 

As of now FusionCharts does not support sub labels in the x-axis(or category axis) natively.

However, if you only want to display the texts "ELA" and "Math" at each of the x-axis labels to signify what the column stack represents, you can use the Text annotations of FusionCharts to display them.

image.png.d413b3b91dadfa87cf7f7bccdf08e69e.png

Refer to the documentation link for reference to Text annotations : https://www.fusioncharts.com/dev/chart-guide/chart-configurations/annotations/creating-annotations/create-text-annotations

Please note : Annotations are static in nature.

Also find a sample fiddle using Text annotation to render the above chart : http://jsfiddle.net/tszwa8ju/3/

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites

Awesome. This does exactly what I need. I'll obviously need to do a bit of tweaking to get them to show up in the right places with different numbers of groups, but that is doable. Thank you for the quick response.

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for the acknowledgement. Glad to know that the solution was helpful.

However, for positioning the annotations, you can refer to the below documentation for the supported positioning macros that are available :

https://www.fusioncharts.com/dev/chart-guide/chart-configurations/annotations/positioning-annotations-using-macros

 

Thanks,

Akash.

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