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'm just wondering, how does one manually invoke the tooltip.custom function which then returns the tooltipModel?
I've written a custom tooltip, when I add an item I also remove an item in the data array. If I'm hovering over a point and do this and then do a chart.update, the chart updates, but the tooltip remains with the old values (the chart line shifts to the left one point, but the tooltip remains with information from the old point which has now moved).
Example:
Or in other words, how do I force a re-render of the tooltip?
The text was updated successfully, but these errors were encountered:
Hi!
I'm just wondering, how does one manually invoke the tooltip.custom function which then returns the tooltipModel?
I've written a custom tooltip, when I add an item I also remove an item in the data array. If I'm hovering over a point and do this and then do a chart.update, the chart updates, but the tooltip remains with the old values (the chart line shifts to the left one point, but the tooltip remains with information from the old point which has now moved).
Example:
Or in other words, how do I force a re-render of the tooltip?
The text was updated successfully, but these errors were encountered: