# What changed in victory-native

> 53 changes in victory-native 41 to 42 from its official release notes, upgrade guides and advisories: 24 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/victory-native/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## victory-native 42

### Fixes and other changes

- Fixes Pie.SliceAngularInset hiding sibling slices on web while preserving the existing useSliceAngularInsetPath API. (42.0.1) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4042.0.1)

## victory-native 41

### New APIs and options

- Adds Cartesian candlestick chart rendering, along with useCandlestickPaths and OHLC geometry utilities. (41.26.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.26.0)
- Optional Cartesian axis titles are added with automatic chart-space reservation. (41.25.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.25.0)
- Data label formatting options are added for Cartesian bars. (41.25.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.25.0)
- Data label rotation options are added for Cartesian bars. (41.25.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.25.0)
- Custom Cartesian axis label renderers can account for measurement. (41.25.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.25.0)
- An opt-in Skia Paragraph axis label renderer helper is added for multilingual labels. (41.25.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.25.0)
- Adds the orientation-neutral datumIndex field to stacked bar barOptions while preserving existing vertical field aliases. (41.24.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.24.0)
- Adds the orientation-neutral isEnd field to stacked bar barOptions while preserving existing vertical field aliases. (41.24.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.24.0)
- Adds the orientation-neutral isStart field to stacked bar barOptions while preserving existing vertical field aliases. (41.24.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.24.0)
- Adds the orientation-neutral seriesIndex field to stacked bar barOptions while preserving existing vertical field aliases. (41.24.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.24.0)
- Adds HorizontalStackedBar for stacked bar charts inside CartesianChart orientation="horizontal". (41.24.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.24.0)
- Adds useHorizontalStackedBarPaths for stacked bar charts inside CartesianChart orientation="horizontal". (41.24.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.24.0)
- Set orientation to horizontal to use horizontal Cartesian bar charts. (41.23.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.23.0)
- A new component for horizontal Cartesian bar charts. (41.23.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.23.0)
- A new component for horizontal Cartesian bar charts. (41.23.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.23.0)
- Allows chart press gestures to run simultaneously with external gesture refs, such as parent scroll views. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Exports the rounded rectangle path helper for use by chart consumers. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Exports the bar overlay helper for use by chart consumers. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Adds transform pan activation and failure offset options to coordinate chart panning with parent scroll gestures. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Exports the bar overlay helper for use by chart consumers. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Exports the Cartesian chart context hook for use by chart consumers. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Exports a hook that lets chart children read the current transform scale and translation. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- CartesianChart and PolarChart now support explicitSize. (41.21.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.21.0)
- CartesianChart and PolarChart now support headless rendering. (41.21.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.21.0)

### Behavior and default changes

- The formatter type now receives numeric value ticks, matching the runtime axis role. (41.23.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.23.0)
- The formatter type now receives xKey category values, matching the runtime axis role. (41.23.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.23.0)
- Cartesian chart mutable action refs are assigned through React's imperative handle, and Reanimated shared-value action refs are supported for worklet custom gestures. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Cartesian x- and y-axis labels support newline-delimited multiline text. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- These components return JSX elements so their declaration types can be used as JSX components. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Changes scrolling and scrubbing; the notes do not specify further details. (41.20.2) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.20.2)

### Fixes and other changes

- Legacy frame line color and width are preserved when Cartesian axes are normalized. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Cartesian bar groups and bar components respect an explicit zero bar width. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Empty formatted x- and y-axis labels no longer reserve label or offset space during layout. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Rounded bar corner radii are capped at half the rendered bar width. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Ordinal x-axis labels are measured using formatted x values instead of tick indexes. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Ordinal x-data indexes are used to normalize ticks so categorical axes respect tickCount and avoid extra scale-generated ticks. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- The first and last x-axis labels remain visible by clamping label drawing inside chart bounds. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- X-axis label space is not reserved when x ticks are disabled, and rotated label layout remains finite when no x ticks are rendered. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- The x-axis labelOffset is used when reserving x-label layout space instead of the current y-axis offset. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Explicit empty y-axis labels are preserved during layout measurement so hidden labels do not reserve y-axis space. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Y scales remain finite when every value for a y key is missing. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- A touch released before long-press pan activation is no longer replayed through chartPressState. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- The gesture overlay stays aligned with the visible chart area during pan and zoom transforms. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Explicit zero values are applied, and Y-axis pan offsets are wired to their matching gesture methods. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Chart press state resets when chart data changes, preventing tooltips from remaining active on stale data. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- The full scale domain is preserved when domain padding is used with a viewport. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Log y scales remain finite for missing or non-positive values, which are treated as missing points; single-value log scales remain positive and finite. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- A tickCount of zero with explicit axis tickValues renders no ticks or tick labels. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Downsampled explicit axis tick values are limited to the requested tick count. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Explicit zero scale values are preserved when reading transform matrix components while axis rescaling remains finite. (41.22.0) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.22.0)
- Fixes Y offset options being applied to X gesture methods. (41.21.1) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.21.1)
- Press coordinates are mapped correctly for Cartesian charts in nested layouts and transformed charts. (41.20.3) — [release notes](https://github.com/FormidableLabs/victory-native-xl/releases/tag/victory-native%4041.20.3)
