Line and columns sparklines charts with optional interactive brushing (selection and labelling), based on elm-visualization.
Install from your elm project:
$ elm install ericgj/elm-sparklines
For color and label size configuration, you will also need to install
elm-community/typed-svg
, and use TypedSvg.Types.Paint
and TypedSvg.Types.Length
.
For brushing, you will need to install gampleman/elm-visualization
, and
create and maintain a brush in your model as described in the
documentation.
The Example/Brush and Main example modules show how to do this.