codeant-ai-for-open-source[bot] commented on PR #26230:
URL: https://github.com/apache/superset/pull/26230#issuecomment-4043451412
## **Sequence Diagram**
This PR restores Calendar Heatmap chart options and adds explicit color
range controls. The flow now passes the new range inputs through transform
props and switches color extent calculation between user defined bounds and
automatic data based scaling.
```mermaid
sequenceDiagram
participant User
participant ChartControls
participant TransformProps
participant CalendarRenderer
User->>ChartControls: Set chart options with optional color range start
and end
ChartControls->>TransformProps: Submit form data
TransformProps->>TransformProps: Enable custom range when both values
are provided
TransformProps->>CalendarRenderer: Pass data options and custom range
settings
alt Custom range enabled
CalendarRenderer->>CalendarRenderer: Use provided range for color
extents
else Custom range disabled
CalendarRenderer->>CalendarRenderer: Compute color extents from
metric values
end
CalendarRenderer-->>User: Render heatmap with selected options
```
---
*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]