使用eCharts动态更新数据功能的时候,更新时动画会不自然,原因不知道,不过通过设置series值的方式就可以解决
chartRow.data.forEach((item) => {// childList.push([item.ts, item.num]) // 原来的方式childList.push({name: item.ts, value: [item.ts, item.num]}) // 新的方式设值})
时间:2023-09-10 06:25:54
使用eCharts动态更新数据功能的时候,更新时动画会不自然,原因不知道,不过通过设置series值的方式就可以解决
chartRow.data.forEach((item) => {// childList.push([item.ts, item.num]) // 原来的方式childList.push({name: item.ts, value: [item.ts, item.num]}) // 新的方式设值})
广西桂林市中考满分作文-为了地球的明天1200字作文素材大全
2024-07-30