v3.2.0
Minor release — additive and backward-compatible. No API removals, no peer-dependency changes.
Added
- Gradient line strokes —
LineConfig.colors?: string[]applies two or more CSS colors as a horizontal gradient along the chart line stroke (left → right), e.g.line={{ colors: ["#ff0000", "#0000ff"] }}. The existingcolor?: stringis unchanged and still sets a solid stroke;colorstakes precedence when both are set. Single-series only. The fill-gradient analogue isGradientConfig.colors(added in 3.0.0).
Thanks to @kyrylokap for this contribution (#97)! 🎉
Full changelog: https://github.com/brandtnewlabs/react-native-livechart/blob/main/CHANGELOG.md