How is your experience with the OutSystems Community?
17
Views
2
Comments
Outsystems Stacked Column Chart
Application Type
Reactive
Service Studio Version
11.55.66 (Build 64746)

Hi guys,

I need guidance on applying the dataset to create a stacked column chart in outsystems.

How should i prepare my datasets ? Please help me on this.

Thank you.

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

Hi @Wee Yaw Pui ,

  • what have you tried so far and what is you result ?
  • why do you think that data preparation is fundamentally different for stacked column ?
  • what is your data ?
  • can you share an oml with you problem ?

Dorine

2024-11-14 08-23-36
Melvin September

Hi @Wee Yaw Pui,

OutSystems has a dedicated page to help you out with charts:
https://charts.outsystems.com/components/chart-types/column-chart
 
To help you further on how to structure your data. The column chart requires a datapoint list which has the following structure:
- Value (Decimal) Mandatory - The value to be plotted.
- Label (Text) Mandatory - The label of the data point.
- SeriesName (Text) - The name of the series where the data point belongs.
- Color (Text) - The color of the data point.
The example given on the link that i shared will have something similar as below:

[

  { "SeriesName": "Series 1", "Label": "Marketing", "Value": 142, "Color": "", "Tooltip": "" },

  { "SeriesName": "Series 1", "Label": "Finance", "Value": 170, "Color": "", "Tooltip": "" },

  { "SeriesName": "Series 1", "Label": "IT", "Value": 185, "Color": "", "Tooltip": "" },

  { "SeriesName": "Series 1", "Label": "Human Resources", "Value": 172, "Color": "", "Tooltip": "" },

  { "SeriesName": "Series 1", "Label": "Sales", "Value": 195, "Color": "", "Tooltip": "" },

  { "SeriesName": "Series 2", "Label": "Marketing", "Value": 122, "Color": "", "Tooltip": "" },

  ....

]
Hope this helps!

Greetings,
Melvin

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