Custom Raw Chart(s)
Install
npm install
Run Sandbox
Develop your custom chart on your machine with livereload thanks to Webpack.
npm run sandbox
You can find your charts at http://localhost:9000
For an in depth guide to add a chart see this
Build
Build your chart to use it in RAW.
npm run build
Share
- Go to RAW websiste
- Click on "Add your chart!"
- Upload the UMD build you can find it under
lib/index.umd.js
- Download the project (now the project contains also your chart)
- Upload
.rawgraphs
file to for example Gist or other share file services - Now you you can share your example and charts with your friend with: https://dev.rawgraphs.io?url=UPLOADED_URL