Closed ZeyZhang closed 4 years ago
在ng2的项目中,我引用了ng2-echarts,图表在首次渲染之后,数据变化了,图表不会改变
option = { grid: { containLabel:true }, toolbox: { feature: { saveAsImage: {} } }, tooltip : { trigger: 'axis', axisPointer: { animation: false } }, dataZoom: [ { show: true, realtime: true, }, { type: 'inside', realtime: true, start: 65, end: 85 } ], xAxis: { type: 'value', }, yAxis: { type: 'category', axisLine: {onZero: false}, data: ['0', '10', '20', '30', '40', '50', '60', '70', '80'] }, series: [ { type: 'line', smooth: true, data:this.td } ], smooth:true, }
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
One-line summary [问题简述]
在ng2的项目中,我引用了ng2-echarts,图表在首次渲染之后,数据变化了,图表不会改变
Version & Environment [版本及环境]
Expected behaviour [期望结果]
ECharts option [ECharts配置项]
Other comments [其他信息]