85
Views
3
Comments
[OutSystems Charts] Bar-Chart
outsystems-charts
Reactive icon
Forge asset by OutSystems
Application Type
Reactive
Service Studio Version
11.53.39 (Build 61952)

I want to merge  series names in single bar like

But while trying using Bar chart am getting in different Bar like this

Can anyone pls help me on this

BarChart.oml
2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi @sasikumar S ,

check your stackingtype, it should be stacked, 

if that still doesn't help, please share an oml here, so we can see all properties and the actual datapoints to better understand.

Dorine

UserImage.jpg
SASIKUMAR S

Hi @Dorine Boudry  

Thanks for Replying I have tried by giving two static values , i have attached that OML in that Screen1.

2021-09-06 15-09-53
Dorine Boudry
 
MVP

oke,

what you are doing in screen 1 is for starters a mess, you supply some datapoints into SourceDataPoint property, you have NOT set the stacking type, and at the same time, you supply some text into HighchartsJSON that you seem to have grabbed from some JSFiddle in the wild, which is NOT the proper format to supply into this property, which incidently also says stacking 'normal'

So, for starters, your chart in screen1 as it is now, doesn't even render.

If you would fix it to make it render, there is nothing you've done to make it stacked.

it seems to me you are an absolute beginner, so I would advise you to start with the basics, don't have anything in the HighchartsJSON, just have a few datapoints and property stackingtype set properly.

As you now only supply 2 datapoints, both with a different label, I don't really get where you would expect to see any stacking though, you need to at least have 2 different series, with a value for the same label for stacking to occur.

See attached a minimal version of your screen1, showing the different stacking types

Dorine

BarChartChanged.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.