HansR
Posts: 62
Joined: Fri Jan 01, 2021 9:44 am
Location: NL
Contact: Website

What determines the distance between windbarbs

I use windbarbs in my charts - see image below - which works wonderfully well. But recently the distance between the windbarbs became 1 hour while it used to be 3 hours. I did not change anything in the charts but it might have been in one of the CDN library files of Highcharts which I use.


I always thought the distance was automatically determined so they would not overlap.
What does determine the distance between the barbs?
If there is more than one parameter what would be the best way to regulate this?
Schermafbeelding 2022-08-01 104420.jpg
Schermafbeelding 2022-08-01 104420.jpg (123.94 KiB) Viewed 309 times
HansR
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: What determines the distance between windbarbs

Hello HansR!
We appreciate you reaching out to us!

I think the best way in your case will be to use a dataGrouping module. I have prepared a simple demo for you with using dataGrouping set to 3 days in windbarb series. You can check it here: https://jsfiddle.net/BlackLabel/zjotnm12/

Here you can find the documentation: https://api.highcharts.com/highcharts/p ... taGrouping

Please, let me know if you have any further questions.
Kind regards!
Hubert Kozik
Highcharts Developer
HansR
Posts: 62
Joined: Fri Jan 01, 2021 9:44 am
Location: NL
Contact: Website

Re: What determines the distance between windbarbs

Thanks Hubert, that does the trick so far. At the moment no more questions.
HansR
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: What determines the distance between windbarbs

You're welcome! Do not hesitate to contact us in the future.
Hubert Kozik
Highcharts Developer

Return to “Highcharts Usage”