feat: update config

This commit is contained in:
Qiuxia Fan
2022-01-12 11:44:54 +08:00
parent 7d1abb3421
commit ad1e500c54
11 changed files with 130 additions and 66 deletions

View File

@@ -27,6 +27,24 @@ export const ChartTypes = [
{ label: "Instance List", value: "InstanceList" },
// { label: "Image", value: "Image" },
];
export const DefaultGraphConfig: { [key: string]: any } = {
Bar: {
type: "Bar",
showBackground: true,
barWidth: 30,
},
Line: {
type: "Line",
showBackground: true,
barWidth: 30,
},
Area: {
type: "Area",
showBackground: true,
barWidth: 30,
},
};
export enum MetricQueryTypes {
ReadMetricsValue = "readMetricsValue",
ReadMetricsValues = "readMetricsValues",