LineChartView

Android Library to line chart view

License

License

GroupId

GroupId

org.hogel
ArtifactId

ArtifactId

line-chart-view
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

LineChartView
Android Library to line chart view
Project URL

Project URL

https://github.com/hogelog/line-chart-view
Source Code Management

Source Code Management

https://github.com/hogelog/line-chart-view

Download line-chart-view

How to add to project

<!-- https://jarcasting.com/artifacts/org.hogel/line-chart-view/ -->
<dependency>
    <groupId>org.hogel</groupId>
    <artifactId>line-chart-view</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.hogel/line-chart-view/
implementation 'org.hogel:line-chart-view:0.2.0'
// https://jarcasting.com/artifacts/org.hogel/line-chart-view/
implementation ("org.hogel:line-chart-view:0.2.0")
'org.hogel:line-chart-view:jar:0.2.0'
<dependency org="org.hogel" name="line-chart-view" rev="0.2.0">
  <artifact name="line-chart-view" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.hogel', module='line-chart-view', version='0.2.0')
)
libraryDependencies += "org.hogel" % "line-chart-view" % "0.2.0"
[org.hogel/line-chart-view "0.2.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

line-chart-view Travis CI Status Maven Central

Android line chart view library.

Usage

Add dependency

Gradle

dependencies {
    compile 'org.hogel:line-chart-view:0.2.0'
}

Maven

<dependency>
    <groupId>org.hogel</groupId>
    <artifactId>line-chart-view</artifactId>
    <version>0.2.0</version>
</dependency>

LineChartView

List<LineChartView.Point> points = new ArrayList<LineChartView.Point>();
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

Example

See line-chart-view-demo

API

See Javadoc

Development version

Use sonatype snapshot repository.

repositories {
    maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}

dependencies {
    compile 'org.hogel:line-chart-view:0.2.1-SNAPSHOT'
}

Versions

Version
0.2.0
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0