@patternfly/react-charts@5.0.0
Victory released a major update, which solves many of the issues folks have been noting with tooltips. Unfortunately, Victory also introduced breaking changes that directly affect our chart components.
For details, see #2883
BREAKING CHANGES
- All components
- replace
labels={(d) => `x: ${d.x}`}
withlabels={({ datum }) => `x: ${datum.x}`}
- See: https://github.com/FormidableLabs/victory/releases/tag/v33.0.0
- replace
- ChartPie
- removed
pieHeight
&pieWidth
props -- usepadding
prop - adjusted padding from 8px to 20px
- removed
- ChartDonut
- removed
donutHeight
&donutWidth
props -- usepadding
prop - adjusted padding from 8px to 20px
- removed
- ChartDonutUtilization
- removed
donutHeight
&donutWidth
props -- usepadding
prop - adjusted padding from 8px to 20px
- removed
- ChartDonutThreshold
- removed
donutHeight
&donutWidth
props -- usepadding
prop - adjusted padding from 8px to 20px
- removed
- ChartBullet
- removed
bulletHeight
&bulletWidth
props -- usebulletSize
prop
- removed
- ChartContainer
- renamed the
VictoryContainer
CSS selector aspf-c-chart
for specificity
- renamed the