feat: add custom config for Bar, Line, Area

This commit is contained in:
Qiuxia Fan
2022-01-12 14:30:45 +08:00
parent ad1e500c54
commit 16085bb56f
10 changed files with 121 additions and 73 deletions

View File

@@ -35,13 +35,13 @@ export const DefaultGraphConfig: { [key: string]: any } = {
},
Line: {
type: "Line",
showBackground: true,
barWidth: 30,
step: false,
smooth: false,
showSymbol: false,
},
Area: {
type: "Area",
showBackground: true,
barWidth: 30,
opacity: 0.4,
},
};