diff --git a/Readme.md b/Readme.md index bd67742..d12ed4c 100644 --- a/Readme.md +++ b/Readme.md @@ -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") } ``` diff --git a/charty/gradle.properties b/charty/gradle.properties index ce2548a..20293c2 100644 --- a/charty/gradle.properties +++ b/charty/gradle.properties @@ -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 diff --git a/docs/CurveLineChart.md b/docs/CurveLineChart.md index 83573ae..7b5ca5f 100644 --- a/docs/CurveLineChart.md +++ b/docs/CurveLineChart.md @@ -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 ) ```