terezka / line-charts

Archived in favor of terezka/elm-charts.
https://terezka.github.io/line-charts
BSD 3-Clause "New" or "Revised" License
456 stars 45 forks source link
charts elm lines plotting svg

Line Charts

This library is deprecated in favor of elm-charts.

An 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 install terezka/line-charts

and import the library in an elm file like this

import LineChart

See the documentation for more information on usage!

Documentation

Find the documentation on Elm's package website.

Development

Setup

$ cd examples
$ 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