feat:折线图option支持config填写
This commit is contained in:
@@ -1351,6 +1351,9 @@ export default {
|
||||
computed: {
|
||||
minStep () {
|
||||
return this.nzDefaultConfig.minStep
|
||||
},
|
||||
lineOption () {
|
||||
return this.nzDefaultConfig.option
|
||||
}
|
||||
},
|
||||
data () {
|
||||
@@ -1447,10 +1450,7 @@ export default {
|
||||
max: undefined
|
||||
},
|
||||
dataLink: this.chartConfig.param.dataLink,
|
||||
option: {
|
||||
lineWidth: 1,
|
||||
pointSize: 6
|
||||
}
|
||||
option: this.lineOption
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.chartConfig.param.thresholds.push({ value: undefined, color: randomcolor() })
|
||||
|
||||
Reference in New Issue
Block a user