Skip to content

Commit 0115521

Browse files
committed
refactor: change curve type in Sparkline
1 parent e47d183 commit 0115521

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/widgets/dashboard/nodes-statistic/statistic-sparkline-card/statistic-sparkline-card.widget.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ export const NodesStatisticSparklineCardWidget = (props: IProps) => {
7272
<Skeleton height={100} />
7373
) : (
7474
<Sparkline
75-
color={sparklineData.length > 1 ? undefined : 'red'}
76-
curveType="natural"
75+
curveType="bump"
7776
data={sparklineData.length > 1 ? sparklineData : [1, 1, 1]}
7877
fillOpacity={0.3}
7978
h={100}

0 commit comments

Comments
 (0)