You must be logged in to post your query.
Home › Forums › Chart Support › render canvasjs with OffscreenCanvas
Tagged: Performance
Is it possible to render the chart in OffscreenCanvas. If not, do you guys have plan to support it?
It happens that when we try to render many canvas charts, canvas drawing will block the main thread and make the page freeze. We thought about to use setTimeout for each chart drawing, but since each drawing would take about 200ms, the page is still very clunky. If we can utilize OffscreenCanvas api, then we can let the web worker do the work and make main thread super responsive.
https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas https://developers.google.com/web/updates/2018/08/offscreen-canvas
You must be logged in to reply to this topic. Login/Register