Forum Discussion

cartercjb's avatar
02-18-2022
Solved

Text Wrap in Bar Charts

I am trying to get the x-axis in the widget to wrap text. I originally thought that this Sisense Support KB (Labels & Legend Sorting In Stacked Charts) would resolve it but it didn't. One reason migh...
  • harikm007's avatar
    02-19-2022

    cartercjb ,

    Margin of widget can be adjusted by using below script : 

    widget.on('processresult', function(se, ev){	
    	ev.result.chart.marginLeft = 150 //update this value based on your requirement
    });

    -Hari