fix:任务进度legend颜色异常问题
This commit is contained in:
parent
c92cbbdcec
commit
0fc3670bce
|
|
@ -698,7 +698,7 @@ export default {
|
||||||
});
|
});
|
||||||
count_diff = count_jh - count_ok;
|
count_diff = count_jh - count_ok;
|
||||||
option.series.data[0].value = count_ok;
|
option.series.data[0].value = count_ok;
|
||||||
option.series.data[1].value = count_diff;
|
option.series.data[1].value = count_diff>0?count_diff:0;
|
||||||
let chartId = 'linechart'+mgroup_index;
|
let chartId = 'linechart'+mgroup_index;
|
||||||
that.setChart(chartId, option);
|
that.setChart(chartId, option);
|
||||||
}else{
|
}else{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue