codeant-ai-for-open-source[bot] commented on PR #34759:
URL: https://github.com/apache/superset/pull/34759#issuecomment-3857307883

   ## **Sequence Diagram**
   
   The PR updates the tooltip formatter so that when a user hovers over a bar 
(axis-style rich tooltip), the formatter prefers axisValue/axisValueLabel (full 
category text) and falls back to the original value extraction otherwise. This 
diagram shows the main success path for displaying the full label in the 
tooltip.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant ECharts as Chart
       participant Formatter as TooltipFormatter
       participant Data as DataPoint
   
       User->>Chart: Hover over bar (trigger tooltip)
       Chart->>Formatter: Invoke formatter with params
       Formatter->>Data: Read params, prefer axisValue/axisValueLabel
       alt axisValue/axisValueLabel present
           Data-->>Formatter: Full label (axisValue/axisValueLabel)
       else fallback
           Data-->>Formatter: Extracted label from value
       end
       Formatter-->>Chart: Render tooltip content (contains full label)
       Chart-->>User: Display tooltip with full category label
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to