echarts
echarts copied to clipboard
多个表格可以并行渲染么?
Version
4.9.0
Steps to reproduce
chartArray.map(item => {
console.time('绘图')
const chart = echarts.init(document.getElementById('echarts-container-' item.id))
const options = redGreenTableLineVisualMap(item.chart)
chart.setOption(options)
console.timeEnd('绘图')
})
What is expected?
多个同时并行
What is actually happening?
逐个执行
绘图: 520.172119140625ms
绘图: 425.0458984375ms
绘图: 424.07568359375ms
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! 🍵
渲染中一般没有异步的情况,并不太能并行。
渲染中一般没有异步的情况,并不太能并行。
没有异步的话,一个页面渲染20个就得等执行栈一个个排队执行,大概就得等10S。有什么解决方案么?
- 每个图的渲染时长比较长,是否有可能进行优化。比如进行采样等缩减渲染的点。
- 如果页面有 20 个图,是否可以优先渲染当前展现的图,未展现的延后?
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!