whomeet opened a new issue, #18938: URL: https://github.com/apache/echarts/issues/18938
### Version 5.4.2 ### Link to Minimal Reproduction xxx ### Steps to Reproduce 在移动端渲染图表列表,每个折线图的高度定位150px,在IOS环境下,只能渲染出170条数据,超过170条就渲染不出来,会报错null is not an object。高度设置的越高,能渲染的图表个数越少。在PC和安卓环境下是OK的。 查找了下原因,可能是IOS环境对canvas画布高度的限制,页面中会把所有渲染图表的画布看做同一个画布,将高度累加,导致超出IOS下canvas的高度,所以无法渲染出图表。 ### Current Behavior 在移动端渲染图表列表,每个折线图的高度定位150px,在IOS环境下,只能渲染出170条数据,超过170条就渲染不出来,会报错null is not an object。高度设置的越高,能渲染的图表个数越少。在PC和安卓环境下是OK的。 查找了下原因,可能是IOS环境对canvas画布高度的限制,页面中会把所有渲染图表的画布看做同一个画布,将高度累加,导致超出IOS下canvas的高度,所以无法渲染出图表。 ### Expected Behavior 希望能对画布做区分,不要累加高度,能在ios环境下渲染出更多的图表数据。或者用其他的方式解决这问题,能渲染大量的图表数据。 ### Environment ```markdown - OS: - Browser: - Framework: 安卓手机和PC环境没问题,或者是没到数据极限 IOS15.0版本以下也能渲染更多的数据,15.0以上能渲染的折线图的个数就很少。 ``` ### Any additional comments? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
