This repo shows how you can render a Highcharts chart with Elm. It uses Web Components to allow Elm to create and interact with a chart.
This dist folder is served here. The button sends a msg to elm and the chart redraws when it detects its attributes have changed.
To run this locally you need node installed on your machine. Node can be downloaded here.
Clone this repo then run npm install
.
Start a dev server with npm start
.
- This will start webpack dev server and serve the project with live reloading and elm debugger enabled
Create a build for your server with npm run build
- This will bundle files into the dist folder.