linrongbin
Posts: 2
Joined: Fri Apr 02, 2021 9:54 am

Is it possible to use boost-canvas without enable WebGL in highcharts (current version 9.0.1)?

since highcharts boost module forced line width = 1px limitation, I want to use boost-canvas as default with disable WebGL.

I found some discussions:

viewtopic.php?t=39846
https://github.com/highcharts/highcharts/issues/7670
https://github.com/highcharts/highcharts/issues/7610
https://github.com/highcharts/highcharts/issues/10758

I have tried `window.WebGLRenderingContext = undefined`, but give me an error:

```
TypeError: h.eachAsync is not a function
renderCanvas boost.src.js:2953
a boost.src.js:3374
b highcharts.src.js:2582
renderSeries highcharts.src.js:30838
renderSeries highcharts.src.js:30833
render highcharts.src.js:30985
firstRender highcharts.src.js:31201
init highcharts.src.js:29470
e highcharts.src.js:1384
init highcharts.src.js:29390
getArgs highcharts.src.js:29377
f highcharts.src.js:29371
C stock.src.js:10157
```

Is there any practice to make boost-canvas as default ?

Thanks.
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: Is it possible to use boost-canvas without enable WebGL in highcharts (current version 9.0.1)?

Hello linrongbin!

We appreciate you reaching out to us!

Could you create a ticket on our GitHub about this issue? We would appreciate it a lot and it would help us to keep things in order. :)

Link: https://github.com/highcharts/highchart ... new/choose

Best regards!
Dominik Chudy
Highcharts Developer

Return to “Highcharts Usage”