移除按鈕的上邊距樣式,以改善整體佈局。

This commit is contained in:
超级老白兔
2025-08-15 14:15:03 +08:00
parent 695ccdd177
commit a66f9b01eb
3 changed files with 185 additions and 0 deletions

View File

@@ -43,6 +43,14 @@ const LineChart: React.FC<LineChartProps> = ({
lineStyle: { color: "#1677ff" },
itemStyle: { color: "#1677ff" },
},
{
data: [3, 99, 12, 14, 8, 0, 0],
type: "line",
smooth: true,
symbol: "circle",
lineStyle: { color: "green" },
itemStyle: { color: "red" },
},
],
grid: { left: 40, right: 24, top: 40, bottom: 32 },
};