Skip to content

Commit

Permalink
update padAngle
Browse files Browse the repository at this point in the history
  • Loading branch information
lee00678 committed Apr 9, 2024
1 parent 9d13d44 commit abc0227
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h3>Most Common Password Categories</h3>
[value]="value"
[data]="data"
[showEmptySegments]="true"
[padAngle]="0.02"
[padAngle]="0.01"
[arcWidth]="100"
[color]="color"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
value={d => d.value}
{data}
showEmptySegments={true}
padAngle={0.02}
padAngle={0.01}
arcWidth={100}
{color}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const chart = new SingleContainer(container, {
component: new Donut<DataRecord>({
value: (d: DataRecord) => d.value,
showEmptySegments: true,
padAngle: 0.02,
padAngle: 0.01,
arcWidth: 100,
color: (_, i) => legendItems[i].color,
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function BasicDonutChart (): JSX.Element {
value={useCallback(d => d.value, [])}
data={data}
showEmptySegments={true}
padAngle={0.02}
padAngle={0.01}
arcWidth={100}
color={useCallback((_, i) => legendItems[i].color, [])}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const color = (d: DataRecord, i: number) => legendItems[i].color
:value="d => d.value"
:data="data"
:showEmptySegments="true"
:padAngle="0.02"
:padAngle="0.01"
:arcWidth="100"
:color="color"
/>
Expand Down

0 comments on commit abc0227

Please sign in to comment.