Skip to content

@patternfly/react-charts@5.0.0

Compare
Choose a tag to compare

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
  • ChartPie
    • removed pieHeight & pieWidth props -- use padding prop
    • adjusted padding from 8px to 20px
  • ChartDonut
    • removed donutHeight & donutWidth props -- use padding prop
    • adjusted padding from 8px to 20px
  • ChartDonutUtilization
    • removed donutHeight & donutWidth props -- use padding prop
    • adjusted padding from 8px to 20px
  • ChartDonutThreshold
    • removed donutHeight & donutWidth props -- use padding prop
    • adjusted padding from 8px to 20px
  • ChartBullet
    • removed bulletHeight & bulletWidth props -- use bulletSize prop
  • ChartContainer
    • renamed the VictoryContainer CSS selector as pf-c-chart for specificity