|
@@ -305,7 +305,7 @@ export const chartOption = {
|
|
type: type,
|
|
type: type,
|
|
areaStyle: areaStyle,
|
|
areaStyle: areaStyle,
|
|
itemStyle: {
|
|
itemStyle: {
|
|
- color: this.form.setting.config.color[0].color
|
|
|
|
|
|
+ color: this.form.setting.config.color[0]?.color
|
|
},
|
|
},
|
|
barWidth: this.form.setting.barWidth,
|
|
barWidth: this.form.setting.barWidth,
|
|
label: this.getDataLabel()
|
|
label: this.getDataLabel()
|