v1.1.0
Second release — configurable live dots, press-and-hold scrubbing, scrub-dim fixes, and a scrubbing performance fix.
Added
LiveChartdotprop — style the single-series live dot:radius,ring
(the haloed outer ring),show, andcolor.LiveChartSeriesdotgainsring,show, andcolor.- Shared
DotConfigtype for both charts (MultiSeriesDotConfigextends it),
plusDotRingConfig. scrub.panGestureDelay— a press-and-hold delay (ms) before scrubbing
activates, so a quick horizontal swipe falls through to a parent gesture
(e.g. a navigator's swipe-back-to-previous-route). Defaults to0(immediate).
Changed
- Multi-series dots now render a contrasting outer ring (halo) by default,
matching the single-series live dot. Passdot={{ ring: false }}for flat
circles. - The single-series live dot's default outer radius is now 6.0px (was 6.5px),
from the shared 2.5px ring width. Passdot={{ ring: { width: 3 } }}to
restore the previous size.
Fixed
- The scrub dim now fully covers the live dot and its pulse ring while
scrubbing (previously only the left half was dimmed), on both charts. The
live-price badge and per-series value labels are drawn above the dim so they
are no longer clipped, and the dim stops short of the Y-axis labels.
Performance
- The scrub tooltip no longer calls Skia
measureTexton every frame; it sizes
the monospace text by character count instead. Fixes a UI-thread frame-rate
drop while scrubbing.
📦 npm: https://www.npmjs.com/package/react-native-livechart/v/1.1.0
📖 Full changelog: https://github.com/brandtnewlabs/react-native-livechart/blob/main/CHANGELOG.md