Skip to content

Releases: uber/react-vis

v0.5.0

02 Sep 21:58
Compare
Choose a tag to compare

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.

v0.4.2

02 Sep 22:04
Compare
Choose a tag to compare
  • Bugfix: Fixed the incorrect rendering of bar charts with the new d3 modules (#105)

v0.4.1

02 Sep 22:04
Compare
Choose a tag to compare
  • Bugfix: Fixed the broken ordinal scales for BarCharts

v0.4.0

02 Sep 21:59
Compare
Choose a tag to compare
  • Enhancement: External fonts are now moved to examples and not present as a part of the library
  • Enhancement: Added onClick and onValueClick for the series of XYPlot.
  • Enhancement: Added 'time-utc' scale similar to d3.time.scale.utc().
  • Started switching to modular d3.

v0.3.3

02 Sep 23:04
Compare
Choose a tag to compare
  • Fixed broken opacity for RadialChart (#58)

v0.3.2

02 Sep 21:59
Compare
Choose a tag to compare
  • colorRange, colorDomain, colorType, opacityRange, opacityDomain and opacityType properties are now supported for the Treemap scales (more info about scales is here).
  • Basic mouse interactions for arcs were added to RadialChart: now onSectionClick, onSectionMouseOver and onSectionMouseOut are supported.
  • Several children-related bugs are fixed (see #54 and #47).

v0.3.1

02 Sep 22:00
Compare
Choose a tag to compare
  • Fixed the bug when no bars were shown for one point of ordinal data (see #49 for more details).
  • Upgraded to React@15.

v0.3.0

02 Sep 22:00
Compare
Choose a tag to compare

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

02 Sep 22:01
Compare
Choose a tag to compare

Breaking changes

  • BarSeries component was split into VerticalBarSeries and HorizontalBarSeries; no orientation 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: now topleft 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.