What's Changed
This release introduces two key new features!
- The
Transform
component, which allows you to transform groups of elements at a time. - The
viewBox
prop, which allows you to declare an "area of interest" that Mafs will stay centered and zoomed in on (while preserving a 1:1 aspect ratio by default). Previously, Mafs would just stretch the axes to fill the viewport.
Breaking change
xAxisExtent
andyAxisExtent
have been replaced withviewBox
.
Full Changelog: v0.7.2...v0.8.0