Skip to content

Releases: uber/react-vis

v1.2.0

31 Mar 22:39
Compare
Choose a tag to compare
  • Feature: _getXYCoordinateInContainer method for MarkSeries which can locate the closest point in x and y space and calls onNearestXY prop with the closest point being returned to the callback (#327)
  • Minor Feature: Add strokeWidth as a prop to MarkSeries (#331)
  • Minor Feature: Modified AxisTitle to use attribute transform instead of css transform (Fixes #286)

v1.1.1

27 Mar 20:45
Compare
Choose a tag to compare

Minor feature: add new prop to lineSeries - strokeDasharray, which allows users to pass that property for svg lines in directly to their series

v1.1.0

27 Mar 17:53
Compare
Choose a tag to compare

Feature: added "cluster" option to bar series. This allows for a logical super categorization of bar series. Simply mark each bar series you wish to be clustered together with a 'cluster: "myGrouping"' prop and react-vis will do the rest!
Documentation: The documentation was radically expanded during this release
Bug Fix: Ordinal/categorical scales were causing the series to take negative values (#184)

v1.0.1

10 Mar 03:30
Compare
Choose a tag to compare

Bug Fix: Make literal scales honor the values provided via props
Feature: Allow ticks and line from the axis to be hidden
Feature: Add partition mode to treemap

v1.0.0

24 Feb 23:33
Compare
Choose a tag to compare

This release, while a major one, is not spectacularly breaking. It includes a variety of features and bug fixes, and addresses some long standing idiosyncrasies. Let's begin by looking at the things that'll break your charts:

BREAKING CHANGES

  • Table is deprecated: There are other substantially better tables in the ecosystem, so we decided to stick to what we do best, charts and plots.
  • Stylesheet has been moved: the stylesheet for react-vis can now be found within the dist folder, so simply modify your style import to be:
@import './node_modules/react-vis/dist/main';
  • Default Opacity: The default opacity behavior has been modified. Previously, react-vis asserted you had a linear scale with range [0.1, 1] and place your value within that range. Now react-vis presents a literal-scale by default. Check your opacities to make sure they are correct.
  • tickSizeInner & tickSizeOuter have been reversed: the names of these props on the axes component have been switched. We feel this arrangement offers a more natural way to interact with the plot.
  • ALIGN.TOP_RIGHT was removed from hint.js: this case did not match the orientation scheme followed by this component so was removed.

NON-BREAKING CHANGES

  • New circle packing mode on treemap!
  • 160 tests were added bringing out coverage up by 4%!

  • className prop was added all components

v0.10.4

14 Feb 23:33
Compare
Choose a tag to compare

Minor feature: This patch exposes a "mode" prop on the treemap which allows the user to pass in a tiling strategy for arranging the treemap.

v0.10.3

21 Jan 00:18
Compare
Choose a tag to compare

This version adds an often requested feature: labels for radial plots! To access them simply add showLabels to your RadialPlot, and add a label field to any row that you wish to label. Checkout out the examples for more details.

v0.10.1

19 Jan 19:09
Compare
Choose a tag to compare

In this release we release a new chart type, a large repo refactor, address a variety of bugs, and a host of additional features!

  • New Chart Type: Sankey Diagram: this chart type allows users visualize data flows and transfers. We are initially releasing this chart in alpha, so that we can gather feedback, and iterate to make the best chart that we can! Check out the docs here!
  • Bug Fix: Fix numerous bugs on the radial plot, including mouse interaction issues, incorrect domains, and props falling out of sync
  • Refactor: We reorganized the way that we are keeping/organizing our repo, installed yarn, added webpack for the examples. (Pro tip, if you are having trouble running the examples after upgrading rm -rf your dist)
  • Feature: Allow custom crosshair orientation
  • Feature: Added interaction listeners for the tree map

v0.9.0

12 Jan 17:57
Compare
Choose a tag to compare

This release addresses a couple of bugs and improves our dep tree. The only psuedo-breaking change is to the layout of radial plot. The way that it now works is that the pie is centered within the given width/height and then allowed to grow to an innerWidth/innerHeight that is computed from the margins and the width/height.

Changes

Bug: Modify margin system for radial chart
Improvement: Support for classname on legends
Chore: Remove duplicated styles
Bug: Add default props to classname for axis
Chore: Update deps, fix lint errors

V0.8.1

10 Jan 17:38
Compare
Choose a tag to compare

Bug fix: ensure zero opacity is interpreted as zero and not nil.