mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-10-15 12:49:17 +00:00
feat: add config and create querys to get metric data
This commit is contained in:
@@ -88,7 +88,7 @@ function getOption() {
|
||||
},
|
||||
showBackground: props.config.showBackground,
|
||||
backgroundStyle: {
|
||||
color: "rgba(180, 180, 180, 0.2)",
|
||||
color: "rgba(180, 180, 180, 0.1)",
|
||||
},
|
||||
markArea:
|
||||
index === 0
|
||||
|
@@ -33,9 +33,6 @@ const props = defineProps({
|
||||
/*global Nullable */
|
||||
const chart = ref<Nullable<HTMLElement>>(null);
|
||||
const option = computed(() => getOption());
|
||||
// function resize() {
|
||||
// chart.value.myChart.resize();
|
||||
// }
|
||||
function getOption() {
|
||||
const keys = Object.keys(props.data || {}).filter(
|
||||
(i: any) => Array.isArray(props.data[i]) && props.data[i].length
|
||||
|
Reference in New Issue
Block a user