Skip to content

Commit

Permalink
Update readme (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-manshu committed Aug 25, 2022
1 parent d8b263b commit 7ca6377
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ In `build.gradle` of app module, include this dependency

```gradle
dependencies {
implementation("com.himanshoe:charty:1.0.0-alpha02")
implementation("com.himanshoe:charty:1.1.0-alpha02")
}
```

Expand Down
2 changes: 1 addition & 1 deletion charty/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ POM_DESCRIPTION=An Elementary Compose Chart library.
POM_PACKAGING=aar
POM_INCEPTION_YEAR=2022
GROUP=com.himanshoe
VERSION_NAME=1.0.0-alpha02
VERSION_NAME=1.1.0-alpha02
VERSION_CODE=1
POM_URL=https://github.com/hi-manshu
POM_LICENCE_NAME=The Apache Software License, Version 2.0
Expand Down
21 changes: 17 additions & 4 deletions docs/CurveLineChart.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,35 @@
### Using CurveLineChart in your project:

1. When you want a gradient shade
1. When you want a gradient shade in both line and chart

```kotlin
CurveLineChart(
modifier = Modifier,
colors = // colors
chartColors = // colors
lineColors = // colors
lineData = // list of LineData
)
```

2. When you want a solid shade:
2. When you want a solid shade in both line and chart

```kotlin
CurveLineChart(
modifier = Modifier,
color = // colors
chartColor = // colors
lineColor = // colors
lineData = // list of LineData
)
```

3. When you want a solid shade in any one of line and chart then pass list of colors in one and one in another,

```kotlin
CurveLineChart(
modifier = Modifier,
chartColor = // colors
lineColor = // colors
lineData = // list of LineData
)
```
Expand Down

0 comments on commit 7ca6377

Please sign in to comment.