Android Tableau library supports variety of graphs which developers simply integrate visualization reports on Android application.

Overview

Android Tableau Library


Generic badge Generic badge Generic badge

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

  1. Latest Update
  2. Usage Instruction
    1. Setup Project
    2. PieGraphView
    3. DotProgressView
    4. LinearProgressView
  3. Attributions
    1. PieGraphView
    2. DotProgressView
    3. LinearProgressView
  4. Contributors
  5. License

🆕 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" />

Next, in your onCreate() method in Activity, create an arrrylist that holds PieGraphModel objects, pass list to new PieGraphHandler object, and set this to pieGraphView handler.

val pieGraphView: PieGraphView = findViewById(R.id.pie_graph_view)

// Create ArrayList object...

val handler = PieGraphHandler(dataList)
pieGraphView.setHandler(handler)

Your pie graph with list of data is displayed on your app! 👏


DotProgressView

First, create a DotProgressView in your xml file.

">
<com.sung2063.tableau_library.progress.DotProgressView
        android:id="@+id/dot_progress_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

Next, in your onCreate() method in Activity, create an mutableList that holds DotProgressModel objects, pass list to new DotProgressHandler object, and set this to dotProgressView handler.

val dotProgressView: DotProgressView = findViewById(R.id.dot_progress_view)

// Create MutableList object...

val handler = DotProgressHandler(dataList)
dotProgressView.setHandler(handler)

Your dot progress graph with list of data is displayed on your app! 👏


LinearProgressView

First, create a LinearProgressView in your xml file.

">
<com.sung2063.tableau_library.progress.LinearProgressView
        android:id="@+id/linear_progress_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

Next, in your onCreate() method in Activity, create an mutableList that holds LinearProgressModel objects, pass list to new LinearProgressHandler object, and set this to linearProgressView handler.

val linearProgressView: LinearProgressView = findViewById(R.id.linear_progress_view)

// Create MutableList object...

val handler = LinearProgressHandler(dataList)
linearProgressView.setHandler(handler)

Your linear progress graph with list of data is displayed on your app! 👏

🎨 Attributions

Here are available attributions you can use to customize your tableau views.

PieGraphView

Attribution Value Description
useArcColor boolean Use each object's arc color if the value true, otherwise use default color.
graphColor string User choose default graph color. This applies only when useArcColor attribution is false.

DotProgressView

Attribution Value Description
useCommonColor boolean Use all progress same color if the value true, otherwise use own progress color which set on each objects.
filledColor string Hex color code for progress. This applies only when useCommonColor attribution is true.
unfilledColor string Hex color code for scale line.

LinearProgressView

Attribution Value Description
useCommonColor boolean Use all progress same color if the value true, otherwise use own progress color which set on each objects.
filledColor string Hex color code for progress. This applies only when useCommonColor attribution is true.
unfilledColor string Hex color code for scale line.
maxValue integer The maximum value for progress.

🌟 Contributors

Developer: Sung Hyun Back (@sung2063)

Designer: Da Eun Park

📝 License

The code is licensed under the MIT License.

You might also like...
An Android chart and graph library
An Android chart and graph library

EazeGraph EazeGraph is an Android library for creating beautiful and fancy charts. Its main goal was to create a lighweight library which is easy to u

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.

⚡ A powerful & easy to use chart library for Android ⚡ Charts is the iOS version of this library Table of Contents Quick Start Gradle Maven Documentat

An easy-to-use Android charts library with animation.
An easy-to-use Android charts library with animation.

AndroidCharts A simple Android charts library. Known Uses in Pomotodo Including in Your Project Eclipse Import /AndroidCharts folder. Move /java folde

Android图表库(XCL-Charts is a free charting library for Android platform.),基于Android Canvas来绘制各种图表,使用简便,定制灵活。目前支持3D/非3D/背向式/横向/竖向柱形图(Bar Chart)、3D/非3D饼图(Pie Chart)、堆叠图(Stacked Bar Chart)、面积图(Area Chart)、 折线图(Line Chart)、曲线图(Spline Chart)、环形图(Dount Chart)、南丁格尔玫瑰图(Rose Chart)、仪表盘(Dial Chart)、刻度盘(Gauge Chart)、雷达图(Radar Chart)、漏斗图(Funnel Chart)、圆形图(Circle Chart)、弧线比较图、散点图(Scatter Chart)、气泡图(Bubble Chart)、范围条形图(RangeBar Chart)等图表。其它特性还包括支持图表缩放、手势移动、点击响应、动画效果、多轴显示、图表参考线、混合图表及同数据源不同图表类型切换等。 Android Charting Library
Android Charting Library

What is desCharts? yet another android charting library Why the name desCharts? a tribute to René Descartes, father of analytical geometry Where is th

A Powerful Android Charting Library by https://www.numetriclabz.com/
A Powerful Android Charting Library by https://www.numetriclabz.com/

numAndroidCharts A Powerful Android Charting Library by Numetric Technologies Features Core features: [Line Chart](#Line Chart) [Bar Chart](#Bar Chart

YBKChart is a library of 3D graphics charts for Android. 📊
YBKChart is a library of 3D graphics charts for Android. 📊

YBKChart is a library of 3D graphics charts for Android. 📊 For more information, see the Wiki. Chart List Pie Chart Download Use gradle. rep

Library for charts in android with animations
Library for charts in android with animations

Charts Gradle Setup Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories: allprojects {

Android library for drawing Pie charts and Donut charts with the ability to customize almost anything in it.
Android library for drawing Pie charts and Donut charts with the ability to customize almost anything in it.

A Pie/Donut*/Ring chart for Android, customizable to the most extent possible. For tutorial and examples refer to the website. build.gradle[.kts] impl

Comments
  • Improve Dot Progress Bar

    Improve Dot Progress Bar

    • Implemented option to use common color or specific color for each progress bar
    • Implemented percentage text increment animation
    • Updated View Attributions
    opened by sung2063 0
Releases(1.0-rc-2)
  • 1.0-rc-2(May 21, 2021)

    [ AndroidTableauLibrary v1.0-rc-2 RELEASE ]

    AndroidTableauLibrary v1.0-rc-2 is now available! 😃

    Please checkout updated README.md for more details.

    🌟 Your valuable sponsorship helps me contributing more features and maintaining the library. Click heart button below to sponsor me!

    Source code(tar.gz)
    Source code(zip)
  • 1.0-rc-1(May 20, 2021)

    [ AndroidTableauLibrary v1.0-rc-1 RELEASE ]

    Android Tableau Library beta version is now released! 😃

    Please checkout updated README.md for more details.

    🌟 Your valuable sponsorship helps me contributing more features and maintaining the library. Click heart button below to sponsor me!

    Source code(tar.gz)
    Source code(zip)
Owner
Sung Hyun
Android developer & engineer living in Canada. Building Android software with Kotlin, Java, SQLite, MVVM, Room.
Sung Hyun
Android Graph Library for creating zoomable and scrollable line and bar graphs.

Chart and Graph Library for Android Project maintainer wanted! For time reasons I can not continue to maintain GraphView. Contact me if you are intere

Jonas Gehring 2.7k Jan 5, 2023
Android Graph Library for creating zoomable and scrollable line and bar graphs.

Chart and Graph Library for Android Project maintainer wanted! For time reasons I can not continue to maintain GraphView. Contact me if you are intere

Jonas Gehring 2.7k Jan 2, 2023
An android compose library with different Graphs and Charts

plot An android compose library with different Graphs and Charts (currently supports only Line graph, more types will be added soon) Download reposito

Madrapps 106 Dec 30, 2022
AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.

AnyChart for Android AnyChart Android Charts is an amazing data visualization library for easily creating interactive charts in Android apps. It runs

AnyChart 2k Jan 4, 2023
Data2Viz port/wrapper for data visualization with Jetpack Compose

Collage Data2Viz port/wrapper for Jetpack Compose. It is a visualization library, same as Data2Viz and d3. This is obviously not an official Data2Viz

Prat 11 Dec 5, 2022
Donut is an Android library which helps you to easily create beautiful doughnut-like charts.

Doughnut-like graph view capable of displaying multiple datasets with assignable colors

Futured 509 Jan 3, 2023
Android Library to rapidly develop attractive and insightful charts in android applications.

williamchart Williamchart is an Android Library to rapidly implement attractive and insightful charts in android applications. Note: WilliamChart v3 h

Diogo Bernardino 4.9k Dec 30, 2022
Android Library to rapidly develop attractive and insightful charts in android applications.

williamchart Williamchart is an Android Library to rapidly implement attractive and insightful charts in android applications. Note: WilliamChart v3 h

Diogo Bernardino 4.8k Dec 22, 2021
Charting library for Android applications. Automatically exported from code.google.com/p/achartengine

achartengine Charting library for Android applications. Automatically exported from code.google.com/p/achartengine AChartEngine is a charting library

Dan Dromereschi 742 Jan 7, 2023