Skip to content

v18.0.0

Compare
Choose a tag to compare
@markov00 markov00 released this 17 Mar 10:36
· 1336 commits to main since this release

18.0.0 (2020-03-17)

Code Refactoring

Features

  • cleaner color API on SeriesSpec (#571) (f769f7c)
  • legend: allow color picker component render prop (#545) (90f4b95)
  • partition: add element click, over and out events (#578) (103df02)
  • partition: add tooltip (#544) (6bf9a69), closes #246
  • percentage display in partitioning charts (#558) (d6aa8d7)
  • specify series name with a function on SeriesSpec (#539) (358455a)
  • xAccessor can be a function accessor (#574) (bcc3d63)

BREAKING CHANGES

  • The getSpecId, getGroupId, getAxisId and getAnnotationId are no longer available. Use a simple string instead.
  • customSeriesColors prop on SeriesSpec is now color. The CustomSeriesColors type is replaced with SeriesColorAccessor.
  • Remove customSubSeriesName prop on series specs in favor of cleaner api using just the name prop on SeriesSpec. The types SeriesStringPredicate, SubSeriesStringPredicate have been removed.
  • the SeriesIdentifier type is generalized into a simplified object with two values in common: specId and key. A specialized XYChartSeriesIdentifier extends now the base SeriesIdentifier. The SettingsSpec prop showLegendDisplayValue is renamed to showLegendExtra and its default value is now false hiding the current/last value on the legend by default.