/elm-sparklines

Primary LanguageElmBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

elm-sparklines

Line and columns sparklines charts with optional interactive brushing (selection and labelling), based on elm-visualization.

line with brushing columns with brushing line facets with brushing

Getting started

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.