vico
vico copied to clipboard
A light and extensible chart library for Android.
# Description This pull request enables users to add a `android.graphics.PathEffect` of their choice to the `LineCartesianLayer`. # Why? On occasion, the design team may require a dashed pattern for...
The functions `rememberTextComponent` and `rememberAxisLabelComponent` now both accept a `TextStyle` that dictates the text's color, size, and font. Previously, these functions accepted three parameters for these values. This was awkward...
### How to reproduce Use `LineSpec` with ``` shader = TopBottomShader( topShader = DynamicShader.color(MaterialTheme.colorScheme.primary), bottomShader = DynamicShader.color(MaterialTheme.customColors.negative) ) ``` and have postive, negative and zero values in `ySeries` ### Observed...
### How to reproduce There are around 20 points var spacing = 20/3 itemPlacer = AxisItemPlacer.Horizontal.default(spacing = spacing, offset = spacing / 3, addExtremeLabelPadding = true), ### Observed behavior ...
### Background Broadly speaking, I would love to get more information in the functions which provide `CartesianLayerModel.Entry`. The information I am most interested in is: * The index of the...
### How to reproduce [I was looking into how to have changes to the range provider instantly ](https://github.com/patrykandpatrick/vico/issues/932)update the chart and was pointed to use `ExtraStore` and running transactions to...
### How to reproduce occasionally happening due to Compose not guaranteeing a non-null Shader for a Paint: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Paint#shader() ### Observed behavior ``` java.lang.IllegalArgumentException: Required value was null. at com.patrykandpatrick.vico.compose.component.shape.shader.BrushShader.createShader(BrushShader.kt:54) at...
Provides a way to customise the line height for a text component.
### How to reproduce There is only one data size, and the text inside the marker is not displayed when the marker is used in the line graph using the...
### How to reproduce Add two persistent marker to one chart that overlap. ### Observed behavior The order of the markers is not preserved from the original map. ### Expected...