Releases: uber/react-vis
Releases · uber/react-vis
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.
v0.4.2
v0.4.1
v0.4.0
- Enhancement: External fonts are now moved to examples and not present as a part of the library
- Enhancement: Added
onClick
andonValueClick
for the series ofXYPlot
. - Enhancement: Added
'time-utc'
scale similar tod3.time.scale.utc()
. - Started switching to modular d3.
v0.3.3
v0.3.2
colorRange
,colorDomain
,colorType
,opacityRange
,opacityDomain
andopacityType
properties are now supported for the Treemap scales (more info about scales is here).- Basic mouse interactions for arcs were added to
RadialChart
: nowonSectionClick
,onSectionMouseOver
andonSectionMouseOut
are supported. - Several children-related bugs are fixed (see #54 and #47).
v0.3.1
v0.3.0
Non-breaking changes
- Travis CI is now supported.
- Stacking was added to the charts. Please refer to the docs of XYPlot for more information.
v0.2.0
Breaking changes
BarSeries
component was split intoVerticalBarSeries
andHorizontalBarSeries
; noorientation
property is needed anymore.- All bar series are aligned to
0
by default. The value can be modified with[scale-name]BaseValue
property. - Alignment of the
Hint
component was fixed: nowtopleft
orientation aligns it to the top left corner, but not to the bottom right.
Non-breaking changes:
- Static getters for
displayName
were removed (interverring with livereactload). - More tests were added.