react-vis
Advanced tools
Changelog
v0.9.0
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.
Changelog
v0.8.0
This release adds two new props (and set of illustrative examples) to Hint component: align
and getAlignStyle
. align
(replacing orientation
prop) is an object with two props — horizontal
and vertical
— and set of values that support existing and new hint placement:
a) around a data point in one of four quadrants (imagine the point bisected by two axes — vertical, horizontal — creating 4 quadrants around a data point).
b) New: pin to an edge of chart/plot area and position along that edge using data point's other dimension value.
Developers wanting total control can use the getAlignStyle(align, x, y)
function that returns an inline style object with one or more of the following props (left, right, top, bottom
).
The orientation
prop is supported for backwards compatibility but will be deprecated in future release.
See the following figure explaining the two props (horizontal, vertical
) for the align
prop object.
Changelog
v0.7.0
This release adds a new series: rectSeries. Rect series operates similarly to barSeries: they consist of a series of rectangles of various size that be stacked, but with one key difference. Where the bar series operates on the assumption of an ordinal axis, rect series operates on an assumption of a continuous one. This allows users to specify the positions of the edges of their rectangles!
Rect series are great for histograms, as they allow you to exactly specify the bounds of buckets. They can be accessed via VerticalRectSeries and HorizontalRectSeries. Check out the examples for more details. This is non breaking change, and can be dropped in immediately.
Changelog
v0.6.8