iiiml0sto1
Posts: 8
Joined: Tue Nov 22, 2022 7:54 pm

highcharts-vue package boost

Hi

How do i know if the boost package is actually working?

I have imported it, but its greyed out in my IDE Image


I have turned on different settings from the documentation:

Code: Select all

                    boost: {
                        useGPUTranslations: true,
                        // Chart-level boost when there are more than 5 series in the chart
                        seriesThreshold: 5
                    },
[url] boostThreshold: 1,[/url]


It says in the documentation that I just have to import it and that's it? But how do actually test if it is running? :)

Best regards
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: highcharts-vue package boost

Hello,

In addition to importing the module itself, you also need to initialize it.
Demo: https://codesandbox.io/s/highcharts-vue ... emo-owkc1l

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/
iiiml0sto1
Posts: 8
Joined: Tue Nov 22, 2022 7:54 pm

Re: highcharts-vue package boost

michal.f wrote: Fri Nov 25, 2022 5:30 pm Hello,

In addition to importing the module itself, you also need to initialize it.
Demo: https://codesandbox.io/s/highcharts-vue ... emo-owkc1l

Best regards!
Thanks, what is the HighchartsMore stuff ?
iiiml0sto1
Posts: 8
Joined: Tue Nov 22, 2022 7:54 pm

Re: highcharts-vue package boost

michal.f wrote: Fri Nov 25, 2022 5:30 pm Hello,

In addition to importing the module itself, you also need to initialize it.
Demo: https://codesandbox.io/s/highcharts-vue ... emo-owkc1l

Best regards!
Also it looks a bit off, don't it? Typescript says 'Method expression is not a function type'

https://imgur.com/a/FaTC6xZ

Image
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: highcharts-vue package boost

Hi,
Thanks, what is the HighchartsMore stuff?
Highcharts-more is a module that has a series of bubbles and several others such as: arearange, columnrange, gauge, waterfall, etc.
Also it looks a bit off, don't it? Typescript says 'Method expression is not a function type'
Based on the screenshot you sent, it looks like you didn't import the module, but it seems to me that only because you've given a small piece of code and it's hard to tell.

Feel free to ask any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Stock”