top of page

Transparent bar/column chart

We can control the transparency of bar or column chart using below script

Steps:

  1. Create bar/column chart

  2. Add below script to chart

  3. Save the script and refresh widget


widget.on('processresult', function(se, ev){

	$.each(ev.result.series, function(index, value){
		value.borderWidth = 1
		value.borderColor = value.color
		value.borderRadius = 2
		
		value.color = Highcharts.color(value.color).setOpacity(0.4).get('rgba')
		
	})
})

61 views0 comments

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page