victory v31.2.0 Release Notes

Release Date: 2019-01-27 // about 5 years ago
  • Axis improvements

    • ๐Ÿ‘ 1244 Supports the axisValue prop for both cartesian and polar charts. This prop allows users to position an axis relative to a value on the opposite axis. Values may be given as numbers, dates, or strings. This prop only works for axis components when they are nested within VictoryChart. Standalone axes can still be positioned using offsetX and offsetY` props.
    • 1240 Allows multiple independent axes in a single chart

    โœ‚ Removes all deprecated lifecycle methods

    • โšก๏ธ 1239 Removes all componentWillReceiveProps lifecycle methods and adds shouldComponentUpdate logic for higher level components. Previously only the lowest level components performed sCU checks.
    • 1228 Replaces componentWillMount with componentDidMount

    ๐Ÿ› bug fixes

    • 1243 Prevents VictoryBrushLine active brushes from overflowing the brush area when a chart is zoomed
    • ๐Ÿ›  1241 Fixes a regression effecting immutable data rendering
    • ๐Ÿ›  1227 Fixes a minor regression effecting parent event keys introduced by 1211