/line-charts

A opinionated library for plotting line charts in SVG. Written in all Elm.

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

Line Charts

A opinionated library for plotting line charts in SVG. Written in all Elm. See demo.

Installation

Run the following command in the root of your project

$ elm package install terezka/line-charts

and import the library in a elm file like this

import LineChart

See the documntation for more information on usage!

Documentation

Find the documentation on Elm's package website.

Development

Setup

$ elm package install
$ elm reactor

and open examples.

Tests

Tests are written with elm-test. For further information on elm-test check the documentation. All required dependencies are downloaded and installed when initially running the command.

$ elm test

Compile the Docs

$ elm live docs/src/Main.elm --output=docs/assets/main.js