Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

x y zoom #438

Merged
merged 12 commits into from
Feb 27, 2017
Merged

x y zoom #438

merged 12 commits into from
Feb 27, 2017

Conversation

boygirl
Copy link
Contributor

@boygirl boygirl commented Feb 27, 2017

Breaking Changes

  • VictoryZoomContainer now zooms both x and y dimensions, use the prop dimension="x" to return to the old behavior
  • VictoryZoomContainer now centers zoom behavior on the mouse position rather than the center of the chart
  • VictoryZoomContainer has a minimum zoom level of the extent of the domain / 1000. Set a custom minimum with the minimumZoom prop, which takes an object with numeric values for x and/ or y.
  • VictoryBrushContainer no longer has dimension="x" as the default value.

closes FormidableLabs/victory#428
closes FormidableLabs/victory#491
closes FormidableLabs/victory#499
closes FormidableLabs/victory#495

@boygirl boygirl merged commit 2927560 into master Feb 27, 2017
@boygirl boygirl deleted the brush-bugs branch February 27, 2017 21:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant