Android Tableau Library
Android Tableau library supports variety of graphs which developers simply integrate visualization reports on Android application.
💖
Sponsor
Android Tableau library updates regularly. Your valueable sponsorship helps me contributing more features and maintaining the library. Support me for building more interesting projects!
📋
Table of Contents
🆕
Latest Update
Updated on May 19th 2021
- NEW: PieGraphView, DotProgressView, and LinearProgressView are released!
✨
Updated on May 20th 2021
- Improve codes from v1.0-rc-1
📖
Usage Instruction
1. Setup your Android project setting
Minimum SDK Version: 21 or greater (Update in your app level build.gradle
)
Supported Programming Language: Kotlin
Add following snippet code in your project level build.gradle
.
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
2. Add required library
First, include following jitpack url inside maven block in your project level build.gradle
.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Next, add the TableauViews and required libraries in app level build.gradle
and sync the gradle file.
implementation 'com.github.sung2063:AndroidTableauLibrary:1.0-rc-2'
implementation 'com.google.android.material:material:1.3.0'
Now you are ready to use Tableau Library. You can start creating graph and progress views.
PieGraphView
First, create a PieGraphView in your xml file.
"><com.sung2063.tableau_library.graph.PieGraphView android:id="@+id/pie_graph_view" android:layout_width="match_parent" android:layout_height="match_parent" />