Skip to content

v3.2.0

Choose a tag to compare

@brandtnewlabs brandtnewlabs released this 09 Jun 07:50
· 2 commits to main since this release

Minor release — additive and backward-compatible. No API removals, no peer-dependency changes.

Added

  • Gradient line strokesLineConfig.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 existing color?: string is unchanged and still sets a solid stroke; colors takes precedence when both are set. Single-series only. The fill-gradient analogue is GradientConfig.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