apache / apache/echarts

[Feature] 想使用worker渲染echarts导出图片

Open
#20,527 9 comments 0 reactions 0 assignees View on GitHub
compatibility new-feature
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

有渲染大量图表且弱交互的场景,想要将渲染和导出通过OffscreenCanvas放在worker中运行,在实际使用中因为work中没有window global 对象导致报错;
image
希望能兼容work的上下文[WorkerGlobalScope](https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope);

或者有没有其他可以直接通过worker渲染的办法?

### What does the proposed API look like?

支持在worker中渲染导出

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.