Skip to content

v3.2.0

Compare
Choose a tag to compare
@hellochar hellochar released this 19 Jun 22:17
· 129 commits to develop since this release

Breaking Changes

  • StackedBar's labelFormatter no longer affects the extrema values above the bar stack; instead, use the new stackedBar.extremaFormatter formatter to specially format just the extrema.

New Features

  • Pie, Bar, and StackedBar labelFormatters now pass the datum, index, and dataset as parameters to the formatter. This lets users reference those parameters when building data labels.

Bug Fixes

  • Fix errors with text size estimation in Firefox which would make Legends/Labels sometimes not show up (thanks @acolombi).
  • Explicitly add d3-shape and d3-ease to our package.json to fix browserify consumers.

Improvements

  • Renamed interaction.detachFrom(component) to just interaction.detach(), since component was an unused parameter.
  • Table constructor signature now explicitly allows null (thanks @devnev).
  • Greatly improve Legend performance by caching text measurements.