echarts大数据量问题
Version
4.9.0
Steps to reproduce
目前业务层面上的数据可能会在几十万上下,但是使用echarts去渲染时特别卡顿,无论是dataset模式还是常规模式都一样,使用svg方式渲染也是一样!
一般模式 https://www.makeapie.com/editor.html?c=xxAa4x9w_Y
dataset模式 https://www.makeapie.com/editor.html?c=xJm15mIBjf&v=1
What is expected?
可有对大数据量(几百万甚至上千万)渲染的解决方案?
1 . 比如虚拟渲染啥的,一开始数据点全部挤在一块,就按照平均取值对X轴和数据进行部分渲染,鼠标滚轮滚动在逐一渲染
- 如地图形式一样,拖拽缩放地图,就渲染当前可视区的数据
What is actually happening?
大数据量情况下,echarts渲染操作特别卡
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 it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.
A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
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 question.
If you are interested in the project, you may also subscribe our mailing list.
Have a nice day! 🍵
@qqfei1858 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
echarts big data volume issues
BODY
Version
4.9.0
Steps to reproduce
Data at the business level can be in the hundreds of thousands today, but using echarts to render is especially taught, whether it's dataset mode or regular mode, and it's the same with svg rendering!
General mode https://www.makeapie.com/editor.html?c=xxAa4x9w_Y
dataset mode https://www.makeapie.com/editor.html?c=xJm15mIBjf&v=1
What is expected?
Can there be solutions for rendering big data volumes (millions or even tens of millions)?
1 . For example, virtual rendering or something, at the beginning of the data points are all squeezed together, according to the average value of the X-axis and data for partial rendering, mouse wheel scrolling in one by one rendering
- Drag and drop the zoom map to render the data in the current visual area, as is the case with the map
What is actually happening?
In the case of big data volume, echarts render operations special cards
建议关闭 smooth,showSymbol 设为 false
@pissang 结果也是一样的哦,给出的样例中已经设置了你说的这两个属性!
用highcharts吧!