Skip to content

Commit c63c016

Browse files
committed
#RI-3551 - change default width for donuts
1 parent 09070f2 commit c63c016

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
@@ -41,7 +41,7 @@ const DonutChart = (props: IProps) => {
4141
const {
4242
name = '',
4343
data,
44-
width = 328,
44+
width = 380,
4545
height = 300,
4646
title,
4747
config,
@@ -50,7 +50,7 @@ const DonutChart = (props: IProps) => {
5050
renderTooltip = (v) => v,
5151
} = props
5252

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

0 commit comments

Comments
 (0)