fix: 修改折线图配置

This commit is contained in:
MTrun
2022-03-09 19:22:58 +08:00
parent e69fd0cdc4
commit 159ffb4af2
6 changed files with 67 additions and 49 deletions
@@ -10,6 +10,13 @@ const option = {
legend: {
show: true
},
tooltip: {
show: true,
trigger: 'axis',
axisPointer: {
type: 'line'
}
},
xAxis: {
show: true,
type: 'category',
@@ -78,7 +85,7 @@ const option = {
export default class Config extends publicConfig
implements CreateComponentType {
public key: string = LineGradientsConfig.key
public chartConfig = omit(LineGradientsConfig, ['node'])
public chartConfig = omit(LineGradientsConfig, ['node', 'conNode'])
// 图表配置项
public option = echartOptionProfixHandle(option, includes)
}