echarts icon indicating copy to clipboard operation
echarts copied to clipboard

多个表格可以并行渲染么?

Open summer1874 opened this issue 4 years ago • 5 comments

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

summer1874 avatar Sep 18 '20 10:09 summer1874

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! 🍵

echarts-bot[bot] avatar Sep 18 '20 10:09 echarts-bot[bot]

渲染中一般没有异步的情况,并不太能并行。

100pah avatar Sep 18 '20 17:09 100pah

渲染中一般没有异步的情况,并不太能并行。

没有异步的话,一个页面渲染20个就得等执行栈一个个排队执行,大概就得等10S。有什么解决方案么?

summer1874 avatar Sep 19 '20 04:09 summer1874

  1. 每个图的渲染时长比较长,是否有可能进行优化。比如进行采样等缩减渲染的点。
  2. 如果页面有 20 个图,是否可以优先渲染当前展现的图,未展现的延后?

100pah avatar Sep 19 '20 08:09 100pah

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.

github-actions[bot] avatar Sep 19 '22 21:09 github-actions[bot]

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!

github-actions[bot] avatar Sep 27 '22 21:09 github-actions[bot]