diff --git a/src/pages/customer/component/CustomerEventStructureChart.vue b/src/pages/customer/component/CustomerEventStructureChart.vue index 96e0a8c..1d3c7bb 100644 --- a/src/pages/customer/component/CustomerEventStructureChart.vue +++ b/src/pages/customer/component/CustomerEventStructureChart.vue @@ -47,15 +47,14 @@ const chartStyle = computed(() => ({ const chartOption = computed(() => ({ ...buildCustomerBaseChartOption(props.dateTextList), grid: { - top: Math.max(72, legendBottom.value), + top: Math.max(16, legendBottom.value), left: 12, right: 12, - bottom: 12, + bottom: 0, containLabel: true }, legend: { top: 0, - type: "scroll", icon: "roundRect", textStyle: { color: "#52607a" diff --git a/src/pages/store/component/StoreEventRecordTrendChart.vue b/src/pages/store/component/StoreEventRecordTrendChart.vue index 8582a70..6e78925 100644 --- a/src/pages/store/component/StoreEventRecordTrendChart.vue +++ b/src/pages/store/component/StoreEventRecordTrendChart.vue @@ -61,7 +61,7 @@ const chartOption = computed(() => ({ top: Math.max(48, legendBottom.value), left: 12, right: 12, - bottom: 12, + bottom: 0, containLabel: true }, series: eventList.value.map(event => ({ diff --git a/src/pages/store/component/StoreEventStructureChart.vue b/src/pages/store/component/StoreEventStructureChart.vue index 240ce9b..85b1a5f 100644 --- a/src/pages/store/component/StoreEventStructureChart.vue +++ b/src/pages/store/component/StoreEventStructureChart.vue @@ -51,7 +51,6 @@ const chartOption = computed(() => ({ }, legend: { top: 0, - type: "scroll", icon: "roundRect", textStyle: { color: "#52607a"