Forum Discussion

Ophir_Buchman's avatar
Ophir_Buchman
Data Integration
03-08-2022
Solved

Column Chart - Change the Default Column Width

When creating a column chart, you may want to control the width of the columns. To do so add the following script to your column widget: const newWidth = 5 widget.on('domready', function(widget)...
  • harikm007's avatar
    03-10-2022

    An alternate script to control column width and space between bars/columns:

     

    widget.on('processresult',function(se,ev){
    	ev.result.plotOptions.series.pointWidth = 20 //width of bar
    	ev.result.plotOptions.series.groupPadding= 0.3 //space between bars
    })

     

    -Hari