fix legend style for chart
This commit is contained in:
@@ -47,15 +47,14 @@ const chartStyle = computed(() => ({
|
||||
const chartOption = computed<EChartsOption>(() => ({
|
||||
...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"
|
||||
|
||||
Reference in New Issue
Block a user