You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently updated a few components to match Victory's latest type updates. Now the title prop of ChartLegendTooltip incorrectly uses type string, which is inherited from VictoryLabelProps.
This title prop is actually used with VictroyLabel, so it should match the VictoryLabelProps type; string[] | StringOrNumberOrCallback.
As a workaround in Cost Management, I can cast to any. For example, title={(datum => datum.x) as any}
The text was updated successfully, but these errors were encountered:
We recently updated a few components to match Victory's latest type updates. Now the
title
prop ofChartLegendTooltip
incorrectly uses typestring
, which is inherited fromVictoryLabelProps
.This
title
prop is actually used withVictroyLabel
, so it should match theVictoryLabelProps
type;string[] | StringOrNumberOrCallback
.As a workaround in Cost Management, I can cast to
any
. For example,title={(datum => datum.x) as any}
The text was updated successfully, but these errors were encountered: