dependabot[bot] ecd0a231b3
build: bump actions/setup-java from 3 to 4
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-30 08:35:59 +00:00
2023-01-10 12:45:36 +01:00
2023-01-10 12:45:36 +01:00
2023-01-10 12:45:36 +01:00
2023-01-10 15:21:25 +01:00
2023-01-10 12:45:36 +01:00
2023-01-10 12:45:36 +01:00
2023-08-23 09:42:29 +02:00
2023-01-10 12:45:36 +01:00

Dzeio Charts logo

Discord Link Github stars Build passing

Dzeio Charts

Highly customizable and easy to use Chart library for android

Install

  • Add Jitpack.io to your settings.gradle file maven { url 'https://jitpack.io' }

Add to you dependencies (check the latest release for the version):

  • (Gradle Kotlin DSL) Add implementation("com.dzeio:charts:1.0.0")
  • (Gradle Groovy DSL) Add implementation "com.dzeio:charts:1.0.0"

Usage

note: full featured examples in the sample app

Add this to your views

<com.dzeio.charts.ChartView
    android:id="@+id/chart_line"
    android:layout_width="match_parent"
    android:layout_height="200dp" />
val chart = binding.chart // get the chart from the view
// setup the Serie
val serie = LineSerie(chart)

// give the serie its entries
serie.entries = // fill this with com.dzeio.charts.Entry
serie.entries = arrayListOf(
  Entry(
      1,
      53f
  )
)

// refresh the Chart
chart.refresh()
Basic charts Fully customized chart Grouped/Stacked charts
screenshot.jpg screenshot2.jpg screenshot3.jpg

Example Usage

in a health oriented step counter with a daily goal

note: Every charts used above used a helper function to have Material 3 colors See the MaterialUtils.kt class

Build

  • Install Android Studio
  • Build the app
  • it will be running on your emulator/device
  • test it!

Contributing

See CONTRIBUTING.md

TL::DR

  • Fork
  • Commit your changes
  • Pull Request on this Repository

License

This project is licensed under the MIT License. A copy of the license is available at LICENSE.md

Description
Highly customizable and easy to use Charts library for android
Readme MIT 1.5 MiB
Languages
Kotlin 100%