Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hogelog/line-chart-view
Android chart library for time series data
https://github.com/hogelog/line-chart-view
Last synced: 24 days ago
JSON representation
Android chart library for time series data
- Host: GitHub
- URL: https://github.com/hogelog/line-chart-view
- Owner: hogelog
- License: mit
- Created: 2014-07-09T16:35:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-07T15:15:48.000Z (about 9 years ago)
- Last Synced: 2023-07-28T17:36:02.002Z (over 1 year ago)
- Language: Java
- Size: 315 KB
- Stars: 31
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# line-chart-view [![Travis CI Status](https://travis-ci.org/hogelog/line-chart-view.svg)](https://travis-ci.org/hogelog/line-chart-view) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.hogel/line-chart-view/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.hogel/line-chart-view)
Android line chart view library.
## Usage
### Add dependency
#### Gradle```groovy
dependencies {
compile 'org.hogel:line-chart-view:0.2.0'
}
```#### Maven
```xml
org.hogel
line-chart-view
0.2.0```
### LineChartView
```java
List points = new ArrayList();
points.add(new LineChartView.Point(-17, -100));
points.add(new LineChartView.Point(4, 200));
points.add(new LineChartView.Point(5, 400));
points.add(new LineChartView.Point(6, 1100));
points.add(new LineChartView.Point(7, 700));LineChartView lineChartView = new LineChartView(this, points);
chartContainer.addView(lineChartView);
```![Line Chart](https://raw.githubusercontent.com/hogelog/line-chart-view/master/line-chart-view.png)
## Example
See [line-chart-view-demo](https://github.com/hogelog/line-chart-view/tree/master/line-chart-view-demo)## API
See [Javadoc](http://hogelog.github.io/line-chart-view/javadoc/)## Development version
Use sonatype snapshot repository.```groovy
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}dependencies {
compile 'org.hogel:line-chart-view:0.2.1-SNAPSHOT'
}
```