[Feature] 考虑集成webgl 做到Plotly的性能吗 #2600
Replies: 5 comments
-
暂时不考虑接入WebGL,WebGL和Canvas2d在不同场景中各有优劣。如果你有特殊场景,可以提出来讨论。
就目前的需求来看,仅仅基于性能的目的去使用WebGL,虽然在某一类场景(比如平移缩放)中确实有效,但在复杂真实场景中可能难以达到期望的效果。 @52flutter 但我们会在后续的3d场景中支持WASM + WebGL/WebGPU的方案 |
Beta Was this translation helpful? Give feedback.
-
我们的场景主要做折线图,但是数据量很大(均值在128k),而且一次会显示很多,目前使用的Plotly。尝试了一下VChart性能上满足不了 |
Beta Was this translation helpful? Give feedback.
-
也可以考虑下Highcharts的设计 增加一个boost模块 利用webgl生成图片来满足高性能要求的场景 |
Beta Was this translation helpful? Give feedback.
-
@52flutter 可以分享一些思路,我先把这个issue转成讨论了 |
Beta Was this translation helpful? Give feedback.
-
https://www.highcharts.com/docs/advanced-chart-features/boost-module |
Beta Was this translation helpful? Give feedback.
-
What problem does this feature solve?
如题plotly.js可以做到百万级渲染很快,而且放大缩小平移等场景不卡顿,现在虽然有渐进式渲染但是数据量大的时候还是卡顿
What does the proposed API look like?
https://github.com/plotly/plotly.js
Beta Was this translation helpful? Give feedback.
All reactions