feat: add custom config for graphs

This commit is contained in:
Qiuxia Fan
2022-01-12 23:04:31 +08:00
parent 8435beda35
commit 8d0acfa1e0
16 changed files with 303 additions and 77 deletions

View File

@@ -41,6 +41,21 @@ export const DefaultGraphConfig: { [key: string]: any } = {
type: "Area",
opacity: 0.4,
},
Card: {
type: "Card",
fontSize: 14,
showUint: true,
},
Table: {
type: "Card",
showTableValues: true,
tableHeaderCol1: "",
tableHeaderCol2: "",
},
TopList: {
type: "TopList",
topN: 10,
},
};
export enum MetricQueryTypes {