echarts
echarts copied to clipboard
echarts 支持传入 canvas 对象的 context
What problem does this feature solve?
对于 node 及 deno 等调用时,由于不能提供 DOM 节点,所以无法直接使用 echarts 进行图表渲染,对于很多地方提到的echarts.setCanvasCreator由于是私有方法,不支持直接调用,希望 echarts 可以支持直接传入canvas 的上下文对象, 或者提供一下直接传递context的方法,谢谢
参考 antv-F2: https://f2.antv.vision/zh/docs/tutorial/manual/node-env
What does the proposed API look like?
echarts.setCanvasCreator(()=>ctx)
Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to [email protected]. Please attach the issue link if it's a technical questions.
If you are interested in the project, you may also subscribe our mail list.
Have a nice day! 🍵
传入 canvas 是支持的。
https://echarts.apache.org/zh/tutorial.html#%E6%9C%8D%E5%8A%A1%E7%AB%AF%E6%B8%B2%E6%9F%93
这个文档是否有帮助
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!