Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmigloz committed Nov 11, 2021
1 parent c3b9784 commit fb3652a
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog line-chart

## `2.1.0` (11/11/21)

- Fix baseline
- Fix scrub ended event sent before animation ended
- Set toward zero as default fill type and fix typo
- Improve sample app

## `2.0.0` (11/11/21)

- BREAKING CHANGE: minSdkVersion increased to 21 (Lollipop)
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

A simple Android line chart library.

![Screenshot](img/screenshot.gif)
Screenshot of the library being used in a real app:

<img src="doc/real.png" width="250" />

Take a look at the [sample app](https://github.com/davidmigloz/line-chart/tree/master/sample) to see the library working.

| Default | Custom styles | Animation |
|--------------------------------|-------------------------------|----------------------------------|
| <img src="doc/default.png" width="220" /> | <img src="doc/custom.png" width="220" /> | <img src="doc/animation.gif" width="220" /> |

## Usage

Expand Down Expand Up @@ -65,13 +73,15 @@ lineChart.scrubListener = OnScrubListener { value: Any? ->
}
```

Take a look at the [sample app](https://github.com/davidmigloz/line-chart/tree/master/sample) to see the library working.

## Contributing

If you find any issues or you have any questions, ideas... feel free to [open an issue](https://github.com/davidmigloz/line-chart/issues/new).
Pull request are very appreciated.

## Credits

This library is inspired by the power of [MPAndroidChart](https://github.com/PhilJay/MPAndroidChart) and the simplicity of [Spark](https://github.com/robinhood/spark).

## License

Copyright (c) 2021 David Miguel Lozano
Expand Down
Binary file added doc/animation.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/custom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/real.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/screenshot.gif
Binary file not shown.
2 changes: 1 addition & 1 deletion linechart/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

ext.versionMajor = 2 // API Changes, adding big new feature, redesign the App
ext.versionMinor = 0 // New features in a backwards-compatible manner
ext.versionMinor = 1 // New features in a backwards-compatible manner
ext.versionPatch = 0 // Backwards-compatible bug fixes
ext.versionClassifier = null // Pre-releases (alpha, beta, rc, SNAPSHOT...)

Expand Down

0 comments on commit fb3652a

Please sign in to comment.