Flexible and simple library for creating charts using Jetpack Compose.
Note: currently this library is under development and is using some beta/alpha release components.
You can find the documentation here staakk.github.io/cchart/
Add the following dependencies to your project:
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation "com.github.staakk:cchart:$version"
}
Where version
can be either a tag or a commit hash.
For example usage check out the samples.
Some of the notable features are:
- Support for panning and zooming
- Built in renderers for the following the following types of charts:
- Line
- Point
- Bars (including grouping of different series)
- Easy to extend
- Easy to add animations
- Support for user defined grids and axes
- Support for zooming and panning
- Clickable data
- Showing arbitrary compose views on the chart