Skip to content

Commit b643c87

Browse files
authored
Update RadarChart.md
1 parent 88a9436 commit b643c87

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

docs/documentation/docs/controls/RadarChart.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,11 @@ Radar charts are best used when comparing points of two or more datasets.
88

99
To create a radar 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='radar'
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)