Valar103769 commented on issue #17912:
URL: https://github.com/apache/echarts/issues/17912#issuecomment-1314705190
>
请教一下实现方式,
异步返回对象数组数据,需要加入一条线, 在无法使用
```
myChart.setOption({
xAxis: {
data: data.categories
},
series: [
{
// 根据名字对应到相应的系列
name: '销量',
data: data.data
}
]
});
```
`series.data` 来更新数据时, 应该怎么实现呢?
--
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]