ericgj / elm-sparklines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 99.1%Language:Makefile 0.9%