A piechart React component/Scrivito widget for the Scrivito CMS.
npm install scrivito-piechartA piechart React component/Scrivito widget for the Scrivito CMS.
Open your terminal.
$ cd to your Scrivito project
``shell`
$ npm install scrivito-piechart
Import the widget in your javascript (e.g. in index.js or Widgets/index.js).
Add this line to your index.js:
`js``
import "scrivito-piechart";
In the widget properties you can set:
- Label for pie item
- Value for the pie item