NEZ-1819 fix:chart-line 超过 20条数据 lengend颜色 和 line的颜色不对应
This commit is contained in:
@@ -77,6 +77,7 @@ export default {
|
||||
const chartOption = lodash.cloneDeep(chartOptions)
|
||||
this.legends = []
|
||||
this.series = chartOption.series = this.handleTimeSeries(this.chartInfo, chartOption.series[0], this.chartData) // 生成series和legends
|
||||
chartOption.color = this.colorList
|
||||
if (!this.series.length) {
|
||||
this.isNoData = true
|
||||
this.$emit('chartIsNoData', this.isNoData)
|
||||
|
||||
Reference in New Issue
Block a user