Skip to content

Commit 233b9db

Browse files
authored
Merge pull request #1174 from RedisInsight/fe/bugfix/RI-3551_donut-width
#RI-3551 - change default width for donuts
2 parents ae80bbe + c63c016 commit 233b9db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisinsight/ui/src/components/charts/donut-chart/DonutChart.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const DonutChart = (props: IProps) => {
4242
const {
4343
name = '',
4444
data,
45-
width = 328,
45+
width = 380,
4646
height = 300,
4747
title,
4848
config,
@@ -51,7 +51,7 @@ const DonutChart = (props: IProps) => {
5151
renderTooltip = (v) => v,
5252
} = props
5353

54-
const margin = config?.margin || 72
54+
const margin = config?.margin || 98
5555
const radius = config?.radius || (width / 2 - margin)
5656
const arcWidth = config?.arcWidth || 8
5757
const percentToShowLabel = config?.percentToShowLabel || 5

0 commit comments

Comments
 (0)