Better looking Y axis

This commit is contained in:
2025-12-28 02:52:43 +01:00
parent cf30e20e42
commit df287a07ef
+8 -1
View File
@@ -42,7 +42,14 @@ export default function GradientAreaChart({
tickLine={false}
tickMargin={8}
/>
{max && <YAxis domain={[0, max]} width={10} />}
{max && (
<YAxis
domain={[0, max]}
width={10}
axisLine={false}
tickLine={false}
/>
)}
<ChartTooltip cursor={false} content={<ChartTooltipContent />} />
<defs>
{Object.entries(config).map(([key, config]) => (