Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Jan 28, 2018
1 parent 3d17024 commit 4546097
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,25 @@ myArcChartView.listener = object : ArcChartView.AcvListener {

### Sample 1

```kotlin
val anim = ValueAnimator.ofFloat(0f,360f).apply {
repeatCount = ValueAnimator.INFINITE
repeatMode = ValueAnimator.RESTART
interpolator = OvershootInterpolator()
duration = 3000
}
anim.addUpdateListener {
if(isAnimating)
myArcChartView.startDegreeOffset =
it.animatedValue as Float
}
anim.start()
```
<img src="./repo_files/images/sample1.gif" width="300">


### Sample 2

```xml
<com.neo.arcchartview.ArcChartView
android:id="@+id/arc_chart_view"
Expand All @@ -193,12 +212,12 @@ myArcChartView.listener = object : ArcChartView.AcvListener {
app:acv_mid_start_extra_offset="12dp"
/>
```
<img src="./repo_files/images/sample1.png" width="300">
<img src="./repo_files/images/sample2.png" width="300">




### Sample 2
### Sample 3

```xml
<com.neo.arcchartview.ArcChartView
Expand All @@ -218,12 +237,12 @@ myArcChartView.listener = object : ArcChartView.AcvListener {
app:acv_mid_start_extra_offset="0dp"
/>
```
<img src="./repo_files/images/sample2.png" width="300">
<img src="./repo_files/images/sample3.png" width="300">




### Sample 3
### Sample 4

```xml
<com.neo.arcchartview.ArcChartView
Expand All @@ -243,7 +262,7 @@ myArcChartView.listener = object : ArcChartView.AcvListener {
app:acv_mid_start_extra_offset="8dp"
/>
```
<img src="./repo_files/images/sample3.png" width="300">
<img src="./repo_files/images/sample4.png" width="300">



Expand Down
Binary file added repo_files/images/sample1.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 removed repo_files/images/sample1.png
Binary file not shown.
Binary file modified repo_files/images/sample2.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 modified repo_files/images/sample3.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 repo_files/images/sample4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4546097

Please sign in to comment.