mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-15 12:49:17 +00:00
feat: add graph, widget config
This commit is contained in:
@@ -32,9 +32,9 @@ const props = defineProps({
|
||||
type: Object as PropType<{
|
||||
theme: string;
|
||||
showBackground: boolean;
|
||||
barMaxWidth: number;
|
||||
barWidth: number;
|
||||
}>,
|
||||
default: () => ({ theme: "light", showBackground: true, barMaxWidth: 30 }),
|
||||
default: () => ({ theme: "light", showBackground: true, barWidth: 20 }),
|
||||
},
|
||||
});
|
||||
/*global Nullable */
|
||||
@@ -80,7 +80,7 @@ function getOption() {
|
||||
name: i,
|
||||
type: "bar",
|
||||
symbol: "none",
|
||||
barWidth: props.config.barMaxWidth,
|
||||
barWidth: props.config.barWidth,
|
||||
stack: "sum",
|
||||
lineStyle: {
|
||||
width: 1.5,
|
||||
|
@@ -19,7 +19,7 @@ import Area from "./Area.vue";
|
||||
import Line from "./Line.vue";
|
||||
import Bar from "./Bar.vue";
|
||||
import Heatmap from "./Heatmap.vue";
|
||||
import ProgressBar from "./ProgressBar.vue";
|
||||
import TopList from "./TopList.vue";
|
||||
import Table from "./Table.vue";
|
||||
import Pie from "./Pie.vue";
|
||||
import Card from "./Card.vue";
|
||||
@@ -28,7 +28,7 @@ export default {
|
||||
Line,
|
||||
Bar,
|
||||
Heatmap,
|
||||
ProgressBar,
|
||||
TopList,
|
||||
Area,
|
||||
Table,
|
||||
Pie,
|
||||
|
Reference in New Issue
Block a user