Recommended Posts

I'm using stacked area 2d, I've enabled drawcrossline.

So far I've only two sets of data, so I've two stacked area graph.

When I put plotToolText with Macros, it's showing two graphs of values without any issues.

plotToolText: '$seriesName, $dataValue, $value'

My tooltip will look something like this,

 
 
 
 
 
 
 
 
Quote

 

MyGraphSeriesName1, $34.5k, 345000

MyGraphSeriesName2, $14.5k, 145000


 

I need to have the sum of the two stacked area graph values in the graph like below.? is it possible to do.?

Quote

 

MyGraphSeriesName1, $34.5k, 34500

MyGraphSeriesName2, $14.5k, 14500

Total, $49k, 49000

 

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Hi,

 

The "stackedarea2d" chart type does not support "showSum" attribute feature as of now. So, it is not possible to show the summed value using $sum macro in the tooltip for stacked area chart.

For reference you can check the attribute list of the mentioned chart type : https://www.fusioncharts.com/dev/chart-attributes/stackedarea2d

 

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