Scrivito Areachart
A areachart React component/Scrivito widget for the Scrivito CMS.
Screenshot
Installation
Open your terminal.
$ cd
to your Scrivito project
$ npm install scrivito-areachart
Import the widget in your javascript src/Widgets/index.js
.
Add this line to your index.js:
;
Features
Areachart for simple or stacked areachart.
Widget properties
In the widget properties you can set:
- Chart type
- Labels for two comparable values e.g. Foo, Bar
- Chart values
- Name e.g. 'January', 'February' ...
- Value (number) for 'January'
- Value (number) for 'February'
- ...