Skip to content

v0.5.0

Compare
Choose a tag to compare
@bulyonov bulyonov released this 02 Sep 21:58
· 679 commits to master since this release

TL;DR

Upgraded to modular d3, compiled code became smaller, changed the API for axes and grids, fixed several bugs.

Breaking changes

  • d3-axis is no longer used, the rendering of axes and grids is made by react (and works faster).
  • The API of axes (XAxis and YAxis) was significantly changed:
    • the API of axes is now (almost) compatible to the API of 'd3-axis'.
    • labelFormat and labelValues attributes for the axes are removed: similar results can be done achieved when tickFormat and tickValues attributes are used (see the the updated documentation for axes for more details).
    • tickFormat function is now gets only one (value) argument instead of two (value and index).
  • The API of grids (VerticalGridLines and HorizontalGridLines) was significantly changed: it partially replicates the API of the axes. Please refer to the updated documentation for more detail.

Non-breaking changes

  • Bugfix: margin for the radial and ortogonal chart is now able to receive partial objects (e. g.<XYPlot margin={{left: 20}}> instead of margins for each side) and numbers (e.g. <XYPlot margin={20}>)
  • Bugfix: makeVisFlexible doesn't fail anymore (see #118).
  • Minor bugfixes and improvements.