Skip to content

Commit 0bb1e3f

Browse files
committed
update readme.md
1 parent 1b04ccd commit 0bb1e3f

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
### Gradle Setup
3838

39-
[![Maven Central](https://img.shields.io/maven-central/v/io.github.ehsannarmani/compose-charts?color=4caf50&label=Latest%20Release&v=9)](https://central.sonatype.com/artifact/io.github.ehsannarmani/compose-charts/overview)
39+
[![Maven Central](https://img.shields.io/maven-central/v/io.github.ehsannarmani/compose-charts?color=4caf50&label=Latest%20Release&v=10)](https://central.sonatype.com/artifact/io.github.ehsannarmani/compose-charts/overview)
4040
```gradle
4141
dependencies {
4242
implementation ("io.github.ehsannarmani:compose-charts:latest_version")
@@ -676,13 +676,14 @@ val lineProperties = LineProperties(
676676
### Labels: `LabelProperties`
677677
> Usage: In every chart you can set properties of the labels (Apr, Jan, ...)
678678
679-
| Property | Type | Default | Description |
680-
|--------------------------------|--------------|---------------------|--------------------------------------------------------------------|
681-
| `enabled` | Boolean | `true` | specifies labels visibility
682-
| `textStyle` | TextStyle | `TextStyle.Default` | specifies label textStyle
683-
| `verticalPadding` | Dp | `12.dp` | specifies vertical padding of labels area
684-
| `labels` | List<String> | `emptyList()` | In line charts, specifies chart labels
685-
| `rotationDegreeOnSizeConflict` | Float | `-45` | rotation degree of label on size confilict with other labels (See)
679+
| Property | Type | Default | Description |
680+
|--------------------------------|--------------|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
681+
| `enabled` | Boolean | `true` | specifies labels visibility
682+
| `textStyle` | TextStyle | `TextStyle.Default` | specifies label textStyle
683+
| `verticalPadding` | Dp | `12.dp` | specifies vertical padding of labels area
684+
| `labels` | List<String> | `emptyList()` | In line charts, specifies chart labels
685+
| `rotationDegreeOnSizeConflict` | Float | `-45` | rotation degree of label on size confilict with other labels (See)
686+
| `forceRotation` | Boolean | `-` | specifies force rotation for labels (in false mode, labels rotate only when there is a label whose width is more than 50% different from the others)
686687

687688
> [!NOTE]
688689
> Example of label rotation degree

0 commit comments

Comments
 (0)