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
Hi, I have just started using the chart component and I feel like using the ChartTooltipContent prevent the use of some features while not using it means loosing others.
A specific example is with sorting:
The below code without the ChartTooltipContent applies sorting correctly but styling and mapping between labels and items in the tooltip (defined in ChartConfig) are lost.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have just started using the chart component and I feel like using the
ChartTooltipContent
prevent the use of some features while not using it means loosing others.A specific example is with sorting:
The below code without the
ChartTooltipContent
applies sorting correctly but styling and mapping between labels and items in the tooltip (defined inChartConfig
) are lost.With the
ChartTooltipContent
the sorting is ignored and I've tried to pass it to either components.or
The same is true for example if I want to use the
separator
property.Am I doing something wrong or are some of these props not supported?
If so any suggestion on how to achieve this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions