victory-polar-axis
Advanced tools
Changelog
35.2.0 (2020-10-08)
#1708 - This PR adds ariaLabel
to Victory's primitive components (VictoryLabel
, Area
, Bar
etc.). This new prop can take a string or a function that expected to return a string, and adds aria-label
attributes to svg elements Victory renders. This PR also adds tabIndex
and aria-label
props to VictoryClipContainer
, and creates a new groupContainer
, VictoryAccessibleGroup
, which renders a g
tag and an optional desc
tag along with its other children. VictoryAccessibleGroup
also takes aria-label
and aria-describedby
props. Thanks @ljones87 for all the hard work on this new feature!
#1709 - Adds default onFocus
and onBlur
event handlers to VictoryTooltip
so that users can trigger tooltips by tabbing through the chart elements when tabIndex
is set.
VictoryVoronoiContainer
renders, including text
, style
, flyoutStyle
, width
and height
angle
prop on VictoryLabel
datum
rather than coordinate.Changelog
35.1.0 (2020-09-25)
preserveAspectRatio
prop to VictoryContainer
, and uses height: "100%"
rather than height: "auto"
, giving users finer control over how Victory's svgs are positioned and scaled within their containers.