orit

msstackedcolumn2d chart show only one stacked bar

Recommended Posts

Hi, 

I'm trying to work with msstackedcolumn2d in order to see two stacked columns, but somehow I see only one. What am I missing?

'{"type":"msstackedcolumn2d",
"renderAt":"chart-container",
"width":"100%",
"height":"50%",
"dataFormat":"json",
"dataSource":{"chart":{"caption":"title...",
"subCaption":"10/2020 - 04/2021",
"xAxisName":"","yAxisName":"Consumption","theme":"fusion","exportEnabled":1,"plotSpacePercent": 80},
"categories":[{"category":[{"label":"10/2020"},{"label":"11/2020"},{"label":"12/2020"},{"label":"01/2021"},{"label":"02/2021"},{"label":"03/2021"}]}],
"dataset":[{
"dataset": [{"seriesname":"A import", "color":"009933",
"data": [{ "value":"1.200"},{ "value":"1.200"},{ "value":"1.200"},{ "value":"1.200"},{ "value":"1.200"},{ "value":"0.410"}]},
{"seriesname":"C import", "color":"3366cc",
"data": [{ "value":"0.470"},{ "value":"0.470"},{ "value":"0.470"},{ "value":"0.470"},{ "value":"0.470"},{ "value":"1.400"}]}],
"dataset": [{"seriesname":"A export", "color":"80ffbf",
"data": [{ "value":"0.890"},{ "value":"0.890"},{ "value":"0.890"},{ "value":"0.890"},{ "value":"0.890"},{ "value":"0.700"}]},
{"seriesname":"C export", "color":"99ddff" ,
"data": [{ "value":"1.300"},{ "value":"1.300"},{ "value":"1.300"},{ "value":"1.300"},{ "value":"1.300"},{ "value":"1.700"}]}]
}]
,
"trendlines": []}}'

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