Skip to content

chore(deps): update vico to v3.3.0-next.2 - #6596

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/vico
Open

chore(deps): update vico to v3.3.0-next.2#6596
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/vico

Conversation

@renovate

@renovate renovate Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.patrykandpatrick.vico:compose-m3 3.3.0-next.13.3.0-next.2 age adoption passing confidence
com.patrykandpatrick.vico:compose 3.3.0-next.13.3.0-next.2 age adoption passing confidence

Release Notes

patrykandpatrick/vico (com.patrykandpatrick.vico:compose-m3)

v3.3.0-next.2

Overview

Changes

  • Added content-area chart sizing. CartesianChartHost and PieChartHost gain a chartAreaHeight parameter, which sets the default height of the coordinate system (for Cartesian charts) or the default pie diameter (for pie charts). The legend, the marker, the axis margins, and other components now add to this height rather than being fitted inside a capped total height. The defaults are 192 dp for Cartesian charts and 232 dp for pie charts. Modifier.height and similar still constrain the component bounds.
  • Deprecated MeasuringContext.canvasSize in favor of MeasuringContext.canvasWidth. With chartAreaHeight, the canvas height isn’t necessarily known during measuring. When drawing, read the full size from DrawingContext.canvasSize, narrowing your receiver from MeasuringContext to DrawingContext where needed. See the deprecation messages for more.
  • Deprecated BaseAxis.Size.Fraction. Its main use case—keeping the chart area’s height constant as the x-axis height changes—is now served by chartAreaHeight. Relatedly, HorizontalAxis’s automatic-height cap is now a fixed 64 dp instead of a fraction of the canvas height.
  • Alleviated the 3.3.0-next.1 breaking changes. All VicoScrollState constructor parameters now have defaults, matching rememberVicoScrollState, so direct construction no longer requires xSnapStep and snapAnimationSpec. titlePosition moved to the end of the HorizontalAxis and VerticalAxis factory, copy, and constructor signatures, so positional calls that pass tickPosition and lineDrawingOrder keep compiling.
  • Added visible-x-range preservation across data updates. When a chart’s x-range shifts (its minX or xStep changes), VicoScrollState recomputes the scroll value so the same x-coordinates stay on screen, keeping prepended history from jumping the viewport to the start edge. The correction runs during measurement, so the adjusted value is used by the frame that draws the new data, and it works in both LTR and RTL layouts.
  • Fixed two VicoScrollState scroll-position regressions. The scroll anchor no longer drifts by the trimmed amount when data is removed from the start side while the scroll is pinned to the end, and a zoom’s stale scroll compensation is no longer applied when a pinch transitions straight into a pan or fling.
  • Prevented an UpdateReceiver leak when a chart’s identity changes. Registration, transformation, and unregistration with CartesianChartModelProducer now use the effect-stable chart ID rather than a value that mutates on recomposition.
  • Fixed PieChart slice spacing, which now yields a constant-width gap for both donuts and holeless pies instead of widening toward the outer edge or collapsing at the center.
  • Fixed the clipping of outside pie labels. PieChart now reserves vertical space for SliceLabel.Outside labels instead of shrinking the pie to fit them inside the chart bounds.
  • Deprecated pieSeries in favor of pieModel, aligning the pie API with the candlestick, column, and line transaction functions.
  • Improved ShapeComponent drawing performance. Resolved Outlines are now drawn directly instead of being replayed into a reusable Path, so rectangles and rounded rectangles skip path construction entirely.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Dependency update label Aug 8, 2026
@github-actions github-actions Bot added the chore label Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore dependencies Dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants