Better looking Y axis
This commit is contained in:
@@ -42,7 +42,14 @@ export default function GradientAreaChart({
|
|||||||
tickLine={false}
|
tickLine={false}
|
||||||
tickMargin={8}
|
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 />} />
|
<ChartTooltip cursor={false} content={<ChartTooltipContent />} />
|
||||||
<defs>
|
<defs>
|
||||||
{Object.entries(config).map(([key, config]) => (
|
{Object.entries(config).map(([key, config]) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user