Skip to content

Rect Series

Compare
Choose a tag to compare
@mcnuttandrew mcnuttandrew released this 10 Dec 19:42
· 549 commits to master since this release

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!

screen shot 2016-12-10 at 11 28 50 am

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.