kamileus
Posts: 2
Joined: Thu Aug 20, 2015 8:14 am

Bubble chart in boost mode, avoid data grouping when zoomed

hi,

I'm trying to visualize some intraday data with a bubble chart. I have a series that has ~25k points and rending it without a boost module is slow.

Adding a boost module is making it fast, but when I'm zooming it looks like there is some kind of grouping applied I can't get rid of.

Please have a look at the below screenshots.

1. Without boost
Image

2. The same data with boost, after zooming in, data is aligned to some predefined time buckets, but I'm expecting to look it like above.
Image

Any advice on how to fix it?

Thanks,
Kamil
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Bubble chart in boost mode, avoid data grouping when zoomed

Hi there,

Welcome to our forum and thank you for contacting us with your question!

It is hard to tell you what is not working and what could be done without taking a look at your code. Could you reproduce the issue in an online editor (i.e JSFiddle) that I could work on?

Waiting for your reply,
Regards!
Kamil Musiałowski
Highcharts Developer
kamileus
Posts: 2
Joined: Thu Aug 20, 2015 8:14 am

Re: Bubble chart in boost mode, avoid data grouping when zoomed

Hi,

I prepared the demo and found the issue:
https://jsfiddle.net/4vkzub8q/7/

It was related to useGPUTranslations: true

Code: Select all

    

    boost: {
      enabled: true,
      useGPUTranslations: true
    }

kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Bubble chart in boost mode, avoid data grouping when zoomed

Hi there,

Thank you for posting the demo and sharing the solution with us!

You are right, this issue is caused by boost.useGPUTranslations - especially when used with timestamps.
This option may cause rendering issues with certain datasets. Namely, if your dataset has large numbers with small increments (such as timestamps), it won't work correctly. This is due to floating point precission.
Please check the API Reference: https://api.highcharts.com/highcharts/b ... anslations

Do not hesitate to contact us with any further questions,
Best regards!
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Stock”