Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terezka/line-charts
Archived in favor of terezka/elm-charts.
https://github.com/terezka/line-charts
charts elm lines plotting svg
Last synced: 2 days ago
JSON representation
Archived in favor of terezka/elm-charts.
- Host: GitHub
- URL: https://github.com/terezka/line-charts
- Owner: terezka
- License: bsd-3-clause
- Created: 2017-10-28T22:37:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-17T15:19:07.000Z (9 months ago)
- Last Synced: 2024-12-13T12:12:42.676Z (9 days ago)
- Topics: charts, elm, lines, plotting, svg
- Language: Elm
- Homepage: https://terezka.github.io/line-charts
- Size: 3.44 MB
- Stars: 456
- Watchers: 13
- Forks: 45
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Line Charts
This library is deprecated in favor of [elm-charts](https://github.com/terezka/elm-charts).
An library for plotting line charts in SVG. Written in all Elm. See [demo.](https://terezka.github.io/line-charts/)
## Installation
Run the following command in the root of your project
```shell
$ elm install terezka/line-charts
```and import the library in an elm file like this
```elm
import LineChart
```See the documentation for more information on usage!
## Documentation
Find the documentation on [Elm's package website](http://package.elm-lang.org/packages/terezka/line-charts/latest).
## Development
### Setup
```shell
$ cd examples
$ elm package install
$ elm reactor
```and open [examples](https://localhost:8000).
### Tests
Tests are written with [elm-test](https://github.com/elm-community/elm-test).
For further information on elm-test check the documentation.
All required dependencies are downloaded and installed when initially running the command.```shell
$ elm test
```### Compile the Docs
```shell
$ elm live docs/src/Main.elm --output=docs/assets/main.js
```