v0.5.0
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
andYAxis
) was significantly changed:- the API of axes is now (almost) compatible to the API of 'd3-axis'.
labelFormat
andlabelValues
attributes for the axes are removed: similar results can be done achieved whentickFormat
andtickValues
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
andHorizontalGridLines
) 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.