-
Notifications
You must be signed in to change notification settings - Fork 277
Pie Chart
Olivier Carpentier edited this page Oct 12, 2016
·
7 revisions
The Pie Chart Web Part is a SharePoint client side web part built with the SharePoint Framework (SPFx) in the preview version. This web part insert a Pie Chart in your pages, and you can manage the pie settings as items, color, title, legends, etc. This web part uses chart.js lib. This web part uses also the Custom Fields library to enhance the web part edition experience.
You can manage the following settings:
- items:
- responsive: indicates if the chart will automatically fit the parent zone size
- width: if responsive is false, sets the chart width
- height: if responsive is false, sets the chart height
- cutoutPercentage: To transform a bar chart in donut chart with a middle hole
- animateRotate: rotate animation enabled or not
- animateScale: scale animation enabled or not
- titleEnable: show the title
- title: title text
- position: title position (left, top, bottom, right)
- titleFont: title font
- titleSize: title font size
- titleColor: title font color
- legendEnable: show the legend
- legendPosition: legend position (left, top, bottom, right)
- legendSize: legend size
- legendColor: legend color