Leonardo

A chart drawing library for Android

License

License

GroupId

GroupId

tech.harmonysoft
ArtifactId

ArtifactId

leonardo
Last Version

Last Version

3
Release Date

Release Date

Type

Type

aar
Description

Description

Leonardo
A chart drawing library for Android
Project URL

Project URL

https://github.com/denis-zhdanov/leonardo-android
Source Code Management

Source Code Management

https://github.com/denis-zhdanov/leonardo-android

Download leonardo

How to add to project

<!-- https://jarcasting.com/artifacts/tech.harmonysoft/leonardo/ -->
<dependency>
    <groupId>tech.harmonysoft</groupId>
    <artifactId>leonardo</artifactId>
    <version>3</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/tech.harmonysoft/leonardo/
implementation 'tech.harmonysoft:leonardo:3'
// https://jarcasting.com/artifacts/tech.harmonysoft/leonardo/
implementation ("tech.harmonysoft:leonardo:3")
'tech.harmonysoft:leonardo:aar:3'
<dependency org="tech.harmonysoft" name="leonardo" rev="3">
  <artifact name="leonardo" type="aar" />
</dependency>
@Grapes(
@Grab(group='tech.harmonysoft', module='leonardo', version='3')
)
libraryDependencies += "tech.harmonysoft" % "leonardo" % "3"
[tech.harmonysoft/leonardo "3"]

Dependencies

compile (3)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-android-extensions-runtime jar 1.3.41
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.41
androidx.appcompat » appcompat jar 1.1.0

Project Modules

There are no modules declared in this project.

Bintray Maven Central

Tl;DR

A chart drawing kotlin Android library designed to work with dynamic data loading and unloading.

Rationale

Originally this library was created Telegram chart contest. However, when the contest was done, it looked like it was worth to made it production-ready and open-source. The rationale is simple - there is a number of great chart libraries, but they work with static data, i.e. it's developer's responsibility to pre-load target data points, feed them into a library and build a more or less static chart.

With this library we have a dedicated ChartView with highly customizable ChartConfig and powerful ChartModel. The model should be provided by ChartDataLoader by the application (data loading strategy interface). It's already guaranteed to be called from a background thread. The library also takes care of applying loaded data points in the main thread.

Example

A sample application which illustrates the library in action can be found on Play Market. It uses infinite on-the-fly data loading strategy.

Versions

Version
3
2
1