forEach((dataset) => { dataset.data.push(data); }); chart.update(); } 但这是ChartJs,而ngx-admin 使用angular2-chartjs。 在我的组件中,我用空数据初始化了图表 ...
確定! 回上一頁