Skip to content

Commit 3beb783

Browse files
committed
Line chart: render dots for points
1 parent c38e758 commit 3beb783

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/webapp/app/components/primitives/charts/ChartLine.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ export function ChartLineRenderer({
186186
width={width}
187187
height={height}
188188
margin={{
189+
top: 5,
189190
left: 12,
190191
right: 12,
191192
}}
@@ -217,7 +218,7 @@ export function ChartLineRenderer({
217218
type={lineType}
218219
stroke={config[key]?.color}
219220
strokeWidth={1}
220-
dot={false}
221+
dot={{ r: 1.5, fill: config[key]?.color, strokeWidth: 0 }}
221222
activeDot={{ r: 4 }}
222223
isAnimationActive={false}
223224
/>

0 commit comments

Comments
 (0)