Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.18.0 (2017-02-27)
(VictoryVoronoiContainer)
BREAKING CHANGES
VictoryTooltip
no longer automatically adds theactive
prop to data when hovered. To turn this behavior on, set the newactivateData
boolean prop onVictoryTooltip
label
in favor oflabels
inVictoryLine
andVictoryArea
, allowing individual data labels for these components like in other Victory components. This will be a breaking change for anyone using thelabel
prop inVictoryLine
orVictoryArea
. Series labels will need to be configured manually.VictoryZoomContainer
now zooms both x and y dimensions, use the propdimension="x"
to return to the old behaviorVictoryZoomContainer
now centers zoom behavior on the mouse position rather than the center of the chartVictoryZoomContainer
has a minimum zoom level of the extent of the domain / 1000. Set a custom minimum with theminimumZoom
prop, which takes an object with numeric values for x and/ or y.VictoryBrushContainer
no longer hasdimension="x"
as the default value.Deprecation Notice
VictoryVoronoi
andVictoryVoronoiTooltip
have been replaced byVictoryVoronoiContainer
and will be deprecated in version 0.20.0victory-core/196
VictoryTooltip
no longer automatically adds theactive
prop to data when hovered. To turn this behavior on, set the newactivateData
boolean prop onVictoryTooltip
theme
prop toVictoryContainer
so that custom containers may pick up themes from their parentstitle
anddesc
props fromVictoryContainer
text
as an array forVictoryLabel
style
as an array forVictoryLabel
so that each line of a multi-line label may be styled independentlyArea
andCurve
primitivesreduceChildren
method toHelpers
to ensure order consistency when working with nested childrenvictory-core/201
sortKey
propsvictory-chart/432
VictoryVoronoiContainer
for hover events (tooltips).VictoryVoronoiContainer
has several benefits overVictoryVoronoi
andVictoryVoronoiTooltip
i.e.
dimension="x"
creates vertical hover areas for every unique x value in all child datalabel
in favor oflabels
inVictoryLine
andVictoryArea
, allowing individual data labels for these components like in other Victory components. This will be a breaking change for anyone using thelabel
prop inVictoryLine
orVictoryArea
. Series labels will need to be configured manuallyVictoryArea
, and groups all line and area segments (i.e. split by null values) into the sameeventKey
, so that they operate as a single line for the purposes of events.victory-chart/438
VictoryZoomContainer
minimumZoom
prop forVictoryZoomContainer
victory-core/207
translateY
prop forClipPath
to support x, y zoom behaviorclipPadding
inClipPath