Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.16.0
->2.0.1
1.16.0
->2.0.1
1.16.0
->2.0.1
Release Notes
patrykandpatrick/vico (com.patrykandpatrick.vico:compose-m3)
v2.0.1
Overview
compose
Context
instead ofLocalDensity
for sp-to-px conversion has been addressed. This problem causedLocalDensity
-based overrides to have no effect on text scaling inCartesianChart
s.v2.0.0
This release is effectively identical to version
2.0.0-beta.7
. The following compares versions2.0.0
and1.16.0
.Overview
Highlights
Vico 2.0.0 is the result of a sweeping redesign of the library. The key changes are highlighted below.
The overhauled API has a streamlined, consolidated structure—offering greater flexibility in a smaller footprint. Most notably, there’s now a single pair of chart-drawing and model-producing classes for both single- and multi-layer charts.
Candlestick charts have been introduced, with comprehensive candle customization and presets for filled and hollow candles.
Line charts now support dashed lines.
The new line-styling framework for line charts facilitates the creation of data-aware line and area fills, including color scales. It offers presets for single and double fills. In the latter, two separate styles are used—one above a given y value and one below it. A common use case is applying different colors for positive and negative y-values.
The reworked scroll and zoom systems offer precise control—with features that facilitate scrolling by a given number of x units, scrolling to a given x coordinate, setting the viewport width in x units, and more.
The new provider interfaces enable granular customization of chart layers. Key use cases include styling columns based on their y-values and displaying points only for selected entries in line charts.
With intelligent default y-ranges and y-axis label positioning, y-axes are more legible by default. First, a suitable power of 10 is inferred. Then, the y-range bounds are rounded outward to a multiple thereof, and labels are positioned at multiples of this power of 10.
With the new and improved built-in axis-item placers, x-axes can dynamically adjust their item spacing based on the zoom factor, preventing label truncation. There’s also a built-in step-based item placer for y-axes.
The redesigned marker framework provides more detailed information on the marked points, simplifying value formatting and facilitating the implementation of context-aware behavior. Thanks to these improvements, the built-in marker’s default formatter now intelligently determines when to sum values and when to only list them individually.
The expanded extra framework enables model-synchronized updates in multiple new areas.
Series values are now stored using
Double
instead ofFloat
, eliminating the need for most range- and precision-reducing transformations, especially for Unix timestamps.The new, more powerful cache mechanism boosts drawing performance. It retains far more reusable data between frames and, in addition, can share it between multiple instances of the same component.
For Jetpack Compose, stability-related enhancements have been made, facilitating composable skipping and thus improving performance.
The new defaults offer a refreshed, more versatile appearance out of the box.
The expanded, reorganized documentation provides more comprehensive guidance. The sample app has been restructured for clarity, and the all-new sample charts visualize real-world data, making them a more practical reference. Enhancements will continue to be made in these areas.
Thank you for your valuable feedback, which helped shape Vico 2.0.0.
Next steps
Vico 1 support
Bug reports for Vico 1 will be accepted until January 31, 2026. Bug fixes will be provided until February 28, 2026.
v1.16.1
Overview
compose
Context
instead ofLocalDensity
for sp-to-px conversion has been addressed. This problem causedLocalDensity
-based overrides to have no effect on text scaling in charts.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.