Tosh
Posts: 15
Joined: Wed Feb 17, 2021 9:40 am

Stacked columnrange with different stacks

Hello! Can somebody help me? I need to do something like this
example.jpg
example.jpg (34.6 KiB) Viewed 332 times
I tried to made this with columnrange and stack, but when I need a negative value in the same stack where's positive value it's looks like this
example2.jpg
example2.jpg (27.41 KiB) Viewed 332 times
Any ideas?
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Stacked columnrange with different stacks

Hello Tosh,

I think your idea with columnrange in this case is very accurate. You might want to consider using threshold option, but frankly speaking it is hard to tell more without looking at your code. Please provide me with a reproduction of your chart in a form of a live working demo. You can start here:
https://jsfiddle.net/BlackLabel/zhmfe8rx/

Best regards!
Mateusz Bernacik
Highcharts Developer
Tosh
Posts: 15
Joined: Wed Feb 17, 2021 9:40 am

Re: Stacked columnrange with different stacks

mateusz.b wrote: Fri Oct 22, 2021 1:11 pm Hello Tosh,

I think your idea with columnrange in this case is very accurate. You might want to consider using threshold option, but frankly speaking it is hard to tell more without looking at your code. Please provide me with a reproduction of your chart in a form of a live working demo. You can start here:
https://jsfiddle.net/BlackLabel/zhmfe8rx/

Best regards!
Hello! Here's the link

https://jsfiddle.net/s4z5u6rL/
Tosh
Posts: 15
Joined: Wed Feb 17, 2021 9:40 am

Re: Stacked columnrange with different stacks

Any ideas? 🤔
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Stacked columnrange with different stacks

Hello Tosh, cool emoji

Here's the solution I was thinking of: https://jsfiddle.net/BlackLabel/vd58pg03/
It is slightly different than yours, but I think it's quite close to what you wanted to achieve. As I said it is columnrange based solution.

Let me know what do you think.
Best regards!
Mateusz Bernacik
Highcharts Developer
Tosh
Posts: 15
Joined: Wed Feb 17, 2021 9:40 am

Re: Stacked columnrange with different stacks

mateusz.b wrote: Thu Oct 28, 2021 8:39 am Hello Tosh, cool emoji

Here's the solution I was thinking of: https://jsfiddle.net/BlackLabel/vd58pg03/
It is slightly different than yours, but I think it's quite close to what you wanted to achieve. As I said it is columnrange based solution.

Let me know what do you think.
Best regards!
Hello! Thank you so much! I'll suggest this solution to customer and designer 👍
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Stacked columnrange with different stacks

Hi Tosh, you're welcome. In case you want change something feel free to contact us again!
👌
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Usage”