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

   ## **Sequence Diagram**
   
   The PR changes the tooltip formatter to prefer ECharts' 
axisValue/axisValueLabel (which contain full, untruncated category names) when 
building axis (rich) tooltips, falling back to the original value extraction 
otherwise. This ensures hover tooltips show the complete label even when axis 
labels are visually truncated.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant ECharts
       participant TransformProps
       participant TooltipFormatter
       participant UI
   
       User->>ECharts: Hover over bar (trigger tooltip)
       ECharts->>TransformProps: Call tooltip.formatter(params)
       TransformProps->>TooltipFormatter: Invoke formatter with params
       TooltipFormatter->>TooltipFormatter: Use axisValue / axisValueLabel if 
present, else fallback to value
       TooltipFormatter-->>TransformProps: Return HTML tooltip content
       TransformProps-->>ECharts: Provide formatted tooltip
       ECharts-->>UI: Render tooltip with full 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