insights explorer supports axis chart

This commit is contained in:
MaysWind
2026-01-11 02:45:46 +08:00
parent 1a0630846d
commit ee9b281919
6 changed files with 347 additions and 61 deletions
+15 -1
View File
@@ -1,5 +1,5 @@
<template>
<axis-chart ref="axisChart" values-field="values"
<axis-chart class="trends-chart-container" ref="axisChart" values-field="values"
:skeleton="skeleton" :type="chartDisplayType" :stacked="stacked" :sorting-type="sortingType"
:show-value="showValue"
:show-total-amount-in-tooltip="showTotalAmountInTooltip" :total-name-in-tooltip="tt('Total Amount')"
@@ -289,3 +289,17 @@ defineExpose({
exportData
})
</script>
<style scoped>
.trends-chart-container {
width: 100%;
height: 720px;
margin-top: 10px;
}
@media (min-width: 600px) {
.trends-chart-container {
height: 790px;
}
}
</style>