- Line Charts
- Bar Charts
Tested on Android 1.6, 2.2, 2.3 and 3.0 (honeycomb, tablet), 4.0.
- Two chart types Line Chart and Bar Chart.
- Draw multiple series of data Let the diagram show more that one series in a graph. You can set a color and a description for every series.
- Show legend A legend can be displayed inline the chart. You can set the width and the vertical align (top, middle, bottom).
- Custom labels The labels for the x- and y-axis are generated automatically. But you can set your own labels, Strings are possible.
- Handle incomplete data It's possible to give the data in different frequency.
- Viewport You can limit the viewport so that only a part of the data will be displayed.
- Scrolling You can scroll with a finger touch move gesture.
- Scaling / Zooming Since Android 2.3! With two-fingers touch scale gesture (Multi-touch), the viewport can be changed.
- Background (line graph) Optionally draws a light background under the diagram stroke.
- Manual Y axis limits
- Realtime Graph (Live)
- And more
http://android-graphview.org To show you how to integrate the library into an existing project see the GraphView-Demos project! See GraphView-Demos for examples. https://github.com/jjoe64/GraphView-Demos
View GraphView page http://android-graphview.org
create sources.jar
- $ jar cvf sources.jar src
create java doc jar
- $ mkdir javadoc
- $ javadoc -d javadoc -sourcepath src/main/java/ -subpackages com.jjoe64
- $ jar cvf javadoc.jar javadoc
change version in gradle.properties
uncomment part for publishing in build.gradle
(once) create a gpg file
- gpg --gen-key
(once) publish key
- gpg --send-keys D8C3B041 and/or here as ascii
- gpg --export -a D8C3B041
- http://keyserver.ubuntu.com:11371/
=> needs some time
hardcode user/pwd of nexus account in maven_push.gradle
run gradle task uploadArchives
- ./gradlew --rerun-tasks uploadArchives
- enter gpg info (path: /Users/jonas/.gnupg/secring.gpg)
login
Staging Repositiories
search: jjoe64
Close entry
Refresh/Wait
Release entry
Wait some days
run this gradle task
- ./gradlew --rerun-tasks clearJar makeJar copy myCompiledLibrary.jar from build/outputs/ to public/GraphView-x.x.x.jar