Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme #27

Merged
merged 1 commit into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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