bito-code-review[bot] commented on PR #35915:
URL: https://github.com/apache/superset/pull/35915#issuecomment-3469213285

   <details open>
     <summary><strong>Interaction Diagram by <a 
href="https://bito.ai#sequence_diagram";>Bito</a></strong></summary>
   
   ```mermaid
   sequenceDiagram
   participant Dev as Developer
   participant SharedCtrl as sharedControls.tsx<br/>🟩 Added | ●●● High
   participant CtrlPanel as controlPanel.tsx<br/>🔄 Updated | ●●● High
   participant Types as types.ts<br/>🔄 Updated | ●●○ Medium
   participant Constants as constants.ts<br/>🔄 Updated | ●●○ Medium
   participant TransformProps as transformProps.ts<br/>🔄 Updated | ●●● High
   participant EchartsUI as EchartsTimeseries Component
   Dev->>SharedCtrl: Define x_axis_number_format control
   SharedCtrl-->>CtrlPanel: Export new control config
   CtrlPanel->>CtrlPanel: Add visibility logic for numeric X-axis
   CtrlPanel->>Types: Pass xAxisNumberFormat field
   Types->>Constants: Initialize with SMART_NUMBER default
   Constants->>TransformProps: Provide default format value
   TransformProps->>TransformProps: Check if X-axis is Numeric type
   TransformProps->>TransformProps: Apply getNumberFormatter(xAxisNumberFormat)
   TransformProps-->>EchartsUI: Return formatted echartOptions
   ```
   Critical path: 
Developer-&gt;sharedControls.tsx-&gt;controlPanel.tsx-&gt;transformProps.ts-&gt;EchartsTimeseries
 Component
   
   
   > **Note:** The diff adds support for numeric X-axis formatting in 
Timeseries charts. A new shared control &#39;x_axis_number_format&#39; is 
defined, integrated into the control panel with conditional visibility for 
numeric columns, and used in transformProps to format numeric X-axis values 
alongside existing time-format support.
   
   </details>


-- 
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