16
Views
8
Comments
Solved
[OutSystems Charts] Experiencing problems with width and scrolling when displaying data in a column chart
outsystems-charts
Reactive icon
Forge asset by OutSystems
Application Type
Reactive
Service Studio Version
11.55.34 (Build 64296)

Encountering problems with a column chart where excessive data causes improper display on the UI, with no gaps between bars, no scroll option, and inability to increase bar width.

I have attached a screenshot and OML illustrating the issue I'm facing.

ColumnChart.oml
2024-10-09 04-44-30
Bhanu Pratap
Solution

This is working for me, Thanks @Rupesh Patil.

Thanks @Amit Jain for helping.

2025-07-28 06-45-20
Rupesh Patil
Solution

Hi @Bhanu Pratap 

You can add latest version for column graph and check below post.

https://www.outsystems.com/forums/discussion/97748/regarding-column-chart-issue/

I tried in personal env its working 

I hope this helps

Thanks

2024-10-09 04-44-30
Bhanu Pratap
Solution

This is working for me, Thanks @Rupesh Patil.

Thanks @Amit Jain for helping.

2025-08-07 06-30-56
Amit J
Champion
Solution

Hi 
See the changes 
https://amitj.outsystemscloud.com/QDR_FavouriteChartColors/DemoScreen

also OML with attachment.

Need to add advacned json for configuration like below 

{

  "chart": {

    "type": "column",

    "scrollablePlotArea": {

      "minWidth": 1800,

      "scrollPositionX": 0

    }

  },

  "xAxis": {

    "labels": {

      "rotation": -45,

      "style": {

        "fontSize": "12px"

      }

    }

  },

  "yAxis": {

    "min": 0,

    "labels": {

      "autoRotation": [-90]

    }

  },

  "plotOptions": {

    "column": {

      "pointWidth": 50,

      "pointPadding": 0.05,

      "groupPadding": 0.1

    }

  },

  "legend": {

    "enabled": false

  }

}

You can adjust the width for scroll.

ColumnChart.oml
2024-10-09 04-44-30
Bhanu Pratap

Hi @Amit Jain,

Width issue resolved but now the color passed as input is not working, Can you please check the attached OML and help on that as well.

HighChartsJSON -

"{  chart: {    type: 'column',    scrollablePlotArea: {      minWidth: 2000,      scrollPositionX: 0    }  },  plotOptions: {    column: {      pointPadding: 0.05,      groupPadding: 0.1    }  },  legend: {    enabled: false  },  series:   [{         data: Array.from({ length:"+LocChartData.Length+"  }, () => Math.floor(Math.random() * 10) + 1)  }]}"

ColumnChart.oml
2025-08-07 06-30-56
Amit J
Champion

ok,
See this one https://amitj.outsystemscloud.com/QDR_FavouriteChartColors/DemoScreen

Added a local variable for color and pass in advanced js


ColumnChart (1).oml
2024-10-09 04-44-30
Bhanu Pratap

Colors needs to be passed dynamically for each iterations, Using Local variable will not work for my case.

2025-08-07 06-30-56
Amit J
Champion

ok, so use only 

"{  chart: {    type: 'column',    scrollablePlotArea: {      minWidth: 2000,      scrollPositionX: 0    }  },  plotOptions: {    column: {      pointPadding: 0.05,      groupPadding: 0.1    }  },  legend: {    enabled: false  }}"


ColumnChart (1).oml
2025-08-07 06-30-56
Amit J
Champion

Is it working now ?


2025-07-28 06-45-20
Rupesh Patil
Solution

Hi @Bhanu Pratap 

You can add latest version for column graph and check below post.

https://www.outsystems.com/forums/discussion/97748/regarding-column-chart-issue/

I tried in personal env its working 

I hope this helps

Thanks

2024-10-09 04-44-30
Bhanu Pratap
Solution

This is working for me, Thanks @Rupesh Patil.

Thanks @Amit Jain for helping.

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