xela92 commented on issue #19377:
URL: https://github.com/apache/echarts/issues/19377#issuecomment-2438022341
Hi, is there any update about this? I think I have the same issue.
I created a simple chart with some random generated data, if I put more than
250 points and start moving around the chart: after some time (few seconds
usually) the Chrome tab crashes with Error 5 (out of memory). If I lower them
below 250, it seems to work fine (I don't know if it's only a matter of time
before it crashes, though)
The issue doesn't exist with other browsers (tried Safari and Firefox): I
managed to have **~2000 points without any hassle**.
Here is the test config I used (copied from an example and slightly changed):
```js
let series_array = []
for (let i = 1; i < 250; i++) {
let data = [1, 2, 3, 4, 5, 6, 7].map(function (x) {
return x * Math.random()
})
let serie = {
name: 'Serie' + i,
type: 'line',
data: data,
}
series_array.push(serie)
}
// Chart options
let option = {
title: {
text: 'Line',
},
tooltip: {
trigger: 'axis',
},
legend: {
data: ['Email', 'Union Ads', 'Video Ads', 'Direct', 'Search Engine'],
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true,
},
toolbox: {
feature: {
saveAsImage: {},
},
},
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
},
yAxis: {
type: 'value',
},
dataZoom: [
{
type: 'inside',
start: 0,
end: 100,
},
{
start: 0,
end: 100,
},
],
series: series,
}
```
Any help would be very appreciated!
Thanks
--
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]