cancel
Showing results for 
Search instead for 
Did you mean: 

Bar-in-Bar chart

gwolfe
10 - ETL
10 - ETL

Hi, does anyone know how to create a bar-in-bar chart? 

gwolfe_0-1670271856466.png

 

1 ACCEPTED SOLUTION

Angelina_QBeeQ
10 - ETL
10 - ETL

Hi @gwolfe ,
Something like this was done in the article, but for the column chart:
https://www.binextlevel.com/post/columns-chart-with-fixed-placement

If we will play with it we can get smth similar:

widget.on('processresult', function(se, ev){
	ev.result.plotOptions.bar.grouping = false

	
	$.each(ev.result.series, function(index, value){
		value.borderWidth = 1
		value.borderColor = value.color
		value.pointPadding = 0.2 * (index+1)	
	})
})

Angelina_0-1670276946133.png

Best regards,
Angelina
[email protected]

View solution in original post

1 REPLY 1

Angelina_QBeeQ
10 - ETL
10 - ETL

Hi @gwolfe ,
Something like this was done in the article, but for the column chart:
https://www.binextlevel.com/post/columns-chart-with-fixed-placement

If we will play with it we can get smth similar:

widget.on('processresult', function(se, ev){
	ev.result.plotOptions.bar.grouping = false

	
	$.each(ev.result.series, function(index, value){
		value.borderWidth = 1
		value.borderColor = value.color
		value.pointPadding = 0.2 * (index+1)	
	})
})

Angelina_0-1670276946133.png

Best regards,
Angelina
[email protected]