Skip to content

Commit 88a9436

Browse files
authored
Update PolarAreaChart.md
1 parent 59990e8 commit 88a9436

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

docs/documentation/docs/controls/PolarAreaChart.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,11 @@ Polar charts are similar to pie charts, except that each segment has the same an
88

99
To create a polar area chart, add the ChartControl import:
1010

11-
```TypeScript
12-
import { ChartControl } from "@pnp/spfx-controls-react/lib/ChartControl";
13-
```
14-
15-
Then render the ChartControl:
16-
17-
```TypeScript
18-
<ChartControl
19-
type='polarArea'
20-
data={data}
21-
options={options}
22-
/>
23-
```
24-
25-
Alternatively, you can use the following import:
26-
2711
```TypeScript
2812
import { ChartControl, ChartType } from '@pnp/spfx-controls-react/lib/ChartControl';
2913
```
3014

31-
Followed by:
15+
Then render the ChartControl:
3216

3317
```TypeScript
3418
<ChartControl

0 commit comments

Comments
 (0)