All Projects → lalongooo → Rings

lalongooo / Rings

Licence: apache-2.0
A simple chart for Android with three indicators and one more to indicate overall summary. They get highlighted if you click on the ring or text.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Rings

Asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
Stars: ✭ 1,805 (+1028.13%)
Mutual labels:  chart
K chart
Maybe it is the best k chart in Flutter.
Stars: ✭ 134 (-16.25%)
Mutual labels:  chart
Aachartkit Swift
📈📊📱💻🖥️An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的跨平台数据可视化图表框架,支持柱状图、条形图、…
Stars: ✭ 1,962 (+1126.25%)
Mutual labels:  chart
Vis Graph3d
📊 Create interactive, animated 3d graphs. Surfaces, lines, dots and block styling out of the box.
Stars: ✭ 129 (-19.37%)
Mutual labels:  chart
Inventory Manager
Making an Awesome Inventory Management Application with Barcode Reader in PHP and MySQL from Start to Finish
Stars: ✭ 132 (-17.5%)
Mutual labels:  chart
Timeline Plus
Timeline - chronological visualization of your data
Stars: ✭ 140 (-12.5%)
Mutual labels:  chart
Orcharts
饼状图、环形图、扇形图、曲线图、折线图
Stars: ✭ 125 (-21.87%)
Mutual labels:  chart
Unity Ui Examples
📚 A collection of UI examples for Unity.
Stars: ✭ 152 (-5%)
Mutual labels:  chart
Ci Buildstats
Little widget to display AppVeyor, TravisCI, CircleCI, GitHub Actions or Azure Pipelines build history charts and other SVG badges.
Stars: ✭ 134 (-16.25%)
Mutual labels:  chart
Zeu
A JavaScript library for real-time visualization
Stars: ✭ 1,777 (+1010.63%)
Mutual labels:  chart
Weewx Belchertown
A clean and modern weewx skin with real time streaming updates, forecast data and interactive charts. View it in action at BelchertownWeather.com
Stars: ✭ 131 (-18.12%)
Mutual labels:  chart
React Native Chart Kit
📊React Native Chart Kit: Line Chart, Bezier Line Chart, Progress Ring, Bar chart, Pie chart, Contribution graph (heatmap)
Stars: ✭ 1,997 (+1148.13%)
Mutual labels:  chart
Sunburst Chart
A sunburst interactive chart web component for visualizing hierarchical data
Stars: ✭ 140 (-12.5%)
Mutual labels:  chart
Npmcharts.com
Compare npm package downloads over time
Stars: ✭ 129 (-19.37%)
Mutual labels:  chart
Timechart
An chart library specialized for large-scale time-series data, built on WebGL.
Stars: ✭ 149 (-6.87%)
Mutual labels:  chart
React D3 Components
D3 Components for React
Stars: ✭ 1,599 (+899.38%)
Mutual labels:  chart
Webpack Bundle Analyzer
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
Stars: ✭ 11,472 (+7070%)
Mutual labels:  chart
Android Linechart
📈一个简单的折线,贝塞尔曲线图表控件,高度可扩展,支持动态显示。
Stars: ✭ 157 (-1.87%)
Mutual labels:  chart
Wechart
Create all the [ch]arts by cax or three.js - Cax 和 three.js 创造一切图[表]
Stars: ✭ 152 (-5%)
Mutual labels:  chart
Pyecharts Snapshot
renders the output of pyecharts as png, jpeg, gif, svg, eps, pdf and raw base64
Stars: ✭ 142 (-11.25%)
Mutual labels:  chart

Android Arsenal

Android Rings

A simple chart for Android with three indicators and one more to indicate overall summary. They get highlighted if you click on the ring or text.

Rings Demo

Setup

1. Provide the gradle dependency

Add the gradle dependency to your app module build.gradle file:

dependencies {
    compile 'com.lalongooo:rings:1.0.0'
}

2. Add the Rings custom view to your layout xml file

Make sure layout_width and layout_height are equal so rings can be a perfect circle inside a square, otherwise it'd look like an ellipse inside a rectangle.

<com.lalongooo.Rings
    android:id="@+id/rings"
    android:layout_width="200dp"
    android:layout_height="200dp" />

3. Add the custom attributes as needed

Text size. Default is 18sp.

app:rings_text_size

Margin left of the text. Default is 10dp.

app:rings_text_margin_left

The three inner rings stroke width. Default is 8dp.

app:rings_inner_stroke_width

The three inner rings stroke width when unfinished or incomplete, if value is the same as app:rings_inner_stroke_width, it will be invisible. Default is 10dp.

app:rings_inner_stroke_width_unfinished

The outer ring stroke width. Default is 12dp.

app:rings_outer_stroke_width

The outer ring stroke width when unfinished or incomplete, if value is the same as app:rings_outer_stroke_width_unfinished, it will be inviisble. Default is 12dp.

app:rings_outer_stroke_width_unfinished

Default unfinished/incomplete background color for all rings.

app:rings_unfinished_color

Default finished/progress color for all the inner rings. It is overriden by app:rings_inner_first_color, app:rings_inner_second_color, app:rings_inner_third_color when specified.

app:rings_default_filled_color

Finished/progress color of the first inner ring.

app:rings_inner_first_color

Finished/progress color of the second inner ring.

app:rings_inner_second_color

Finished/progress color of the third inner ring.

app:rings_inner_third_color

Finished/progress color of the outer ring.

app:rings_overall_color

Progress of the first inner ring. Between 0 and 100. Default is 0.

app:rings_inner_first_progress

Progress of the second inner ring. Between 0 and 100. Default is 0.

app:rings_inner_second_progress

Progress of the third inner ring. Between 0 and 100. Default is 0.

app:rings_inner_third_progress

Progress of the outer ring. Between 0 and 100. Default is 0.

app:rings_overall_progress

Text of the first inner ring.

app:rings_inner_first_text

Text of the second inner ring.

app:rings_inner_second_text

Text of the third inner ring.

app:rings_inner_third_text

Text of the outer ring.

app:rings_overall_text

Example

<com.lalongooo.Rings
    android:id="@+id/rings"
    android:layout_width="200dp"
    android:layout_height="200dp"
    app:rings_inner_first_color="#FF9F1C"
    app:rings_inner_first_progress="30"
    app:rings_inner_first_text="Java"
    app:rings_inner_second_color="#4BC6B9"
    app:rings_inner_second_progress="75"
    app:rings_inner_second_text="Kotlin"
    app:rings_inner_third_color="#757780"
    app:rings_inner_third_progress="85"
    app:rings_inner_third_text="Android"
    app:rings_overall_color="#EA3546"
    app:rings_overall_progress="100"
    app:rings_overall_text="Overall"
    app:rings_text_size="20sp"
    app:rings_unfinished_color="#f2f2f2" />

Result

Rings Example

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].