[charts] ChartsTooltip
and ChartsAxisHighlight
not re-render when update series data
#15565
Labels
bug 🐛
Something doesn't work
component: charts
This is the name of the generic UI component, not the React module!
Steps to reproduce
example: codesendbox
Current behavior
I'm using TSDB and I'm receiving an updated series dataset by setting the interval to 10 seconds.
When the mouse pointer is on top of the chart, the ChartsTooltip and ChartsAxisHighlight are rendered on top of the chart.
The problem occurs when the received data is rendered to Chart after 10 seconds.
MarkPlot is currently displaying a good re-branding above the mouse pointer, but the ChartsTooltip and ChartsAxisHighlight are not re-branding.
Expected behavior
I believe that when the series data is updated, the ChartsTooltip and ChartsAxisHighlight information should also be re-rendered to reflect the current information, similar to MarkPlot.
Context
MarkPlot, ChartsTooltip, and ChartsAxisHighlight are components with similar characteristics but are heading in different directions, causing a lack of synchronization. I believe it would be beneficial to align these three components to ensure consistency.
Additionally, it would be ideal if users could choose the conditions under which re-rendering occurs within the same chart area. For example, one user might want to view continuous data through the tooltip, while another might prefer the tooltip's content to remain fixed.
Your environment
npx @mui/envinfo
Search keywords: ChartsTooltip,ChartsAxisHighlight
The text was updated successfully, but these errors were encountered: