mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 21:15:25 +00:00
update style
This commit is contained in:
parent
88afe29ebb
commit
31ee5aa648
@ -137,13 +137,15 @@ function getOption() {
|
|||||||
color,
|
color,
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: "axis",
|
trigger: "axis",
|
||||||
// backgroundColor: "rgb(50,50,50)",
|
zlevel: 1000,
|
||||||
// textStyle: {
|
z: 60,
|
||||||
// fontSize: 13,
|
backgroundColor: "rgb(50,50,50)",
|
||||||
// color: "#ccc",
|
textStyle: {
|
||||||
// },
|
fontSize: 13,
|
||||||
// enterable: true,
|
color: "#ccc",
|
||||||
// extraCssText: "max-height: 300px; overflow: auto;",
|
},
|
||||||
|
enterable: true,
|
||||||
|
extraCssText: "max-height: 300px; overflow: auto; border: none",
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
type: "scroll",
|
type: "scroll",
|
||||||
|
@ -18,7 +18,6 @@ limitations under the License. -->
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { computed } from "vue";
|
import { computed } from "vue";
|
||||||
import type { PropType } from "vue";
|
import type { PropType } from "vue";
|
||||||
import { StandardConfig } from "@/types/dashboard";
|
|
||||||
|
|
||||||
/*global defineProps */
|
/*global defineProps */
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@ -31,11 +30,7 @@ const props = defineProps({
|
|||||||
intervalTime: { type: Array as PropType<string[]>, default: () => [] },
|
intervalTime: { type: Array as PropType<string[]>, default: () => [] },
|
||||||
config: {
|
config: {
|
||||||
type: Object as PropType<any>,
|
type: Object as PropType<any>,
|
||||||
default: () => ({}),
|
default: () => ({ metrics: [] }),
|
||||||
},
|
|
||||||
standard: {
|
|
||||||
type: Object as PropType<StandardConfig>,
|
|
||||||
default: () => ({}),
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
const option = computed(() => getOption());
|
const option = computed(() => getOption());
|
||||||
|
@ -153,7 +153,7 @@ function getOption() {
|
|||||||
color: "#ccc",
|
color: "#ccc",
|
||||||
},
|
},
|
||||||
enterable: true,
|
enterable: true,
|
||||||
extraCssText: "max-height: 300px; overflow: auto;",
|
extraCssText: "max-height: 300px; overflow: auto; border: none",
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
type: "scroll",
|
type: "scroll",
|
||||||
|
Loading…
Reference in New Issue
Block a user