There is an in-built feature in Sisense to set colors for bars based on its values. Also its possible to set colors if there is a column added in 'Break by' panel. Below script enable us to apply different colors for each bar based on category name.

var colorList = {
'Name1': '#d46c3f',
'Name2': '#88b830',
'Name3': '#3071b8',
'Name4': '#7a30b8',
'Name5': '#b83086'
}
widget.on('processresult',function(se,args){
$.each(args.result.series[0].data, function(i, v){
v.color = colorList[v.selectionData[0]]
})
})