A linechart React component/Scrivito widget for the Scrivito CMS.
npm install scrivito-linechartA linechart React component/Scrivito widget for the Scrivito CMS.
Open your terminal.
$ cd to your Scrivito project
``shell`
$ npm install scrivito-linechart
Import the widget in your javascript src/Widgets/index.js.
Add this line to your index.js:
`js``
import "scrivito-linechart";
Linechart for normal, dashed or vertical lines..
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'
- ...