v2.7.0
Features
Stacked Bar: Summed Labels
In addition to individual labels within each bar, enabling labels for stacked bar plots now shows the sum of the stack above the bar. The sum is calculated for positive and negative entities separately, meaning that stacked bar plots with mixed positive and negative entities will have two separate sum labels: one for the positive sum, and one for the negative sum.
Downsampling for tick Labels
Previously, if there wasn't enough space for tick labels in a chart, they would all be hidden. With this new feature, we show as many tick labels as possible, hiding enough labels to make room for the others.
API Augmentations
Component API: Expose Resize Event
Components now support an onResize
event, which is called when the component’s size changes.
Add alignment and start/end angle to pie plots
Allows pie plots that are not complete circles, and allows shifting of the pie plot's center.
Thanks to @carlosdiazh for this submission!
tickLabelMaxLines property for category scales
Adds the ability to wrap category tick labels up to a maximum number of lines.
Performance Improvements
svg-typewriter 1.0.2
More caching and better whitespace handling
LightweightEntity Caching
Significant perf improvement for locating entities plots based on mouse movement, greatly improving hovering and tooltip interactions.
Housekeeping
- Update bower.json d3 dependency to match package.json
- Remove outdated CLA information
- Update copyright on licenses