New Features
Victory is actively developed. You can read about some of our newest feature here. For more information on improvements and bug fixes, check out our changelog.
VictoryHistogram
We've added a new charting component to allow you to easily create histogram charts. With VictoryHistogram
you can create beautiful and interactive histograms.
Using the bins
prop, you have flexibility in how your data is binned, allowing you to specify specific bin ranges, or an approximate count of how many bins you want.
You can stack VictoryHistogram
too, just wrap it in VictoryStack
!
Backgrounds for VictoryChart
We wanted to make it easier to style the chart backgrounds, so we added a backgroundComponent
for VictoryChart
. Now, when you include background
styles, VictoryChart
will render Background
, a styled element that fills the area between your axes.
Try it out!
Polar charts are also supported, with Background
rendering a circle
instead of a rect
element`:
As with other components Victory renders, you can add props directly to Background
, or create your own custom backgroundComponent
.