dosubot[bot] commented on issue #32902:
URL: https://github.com/apache/superset/issues/32902#issuecomment-2762194769

   <!-- Greeting -->
   Hey there, @OG-Foobarred! I'm here to help you with any bugs, questions, or 
contributions you have related to the issue you posted. Let's work together to 
solve this!
   
   <!-- Answer -->
   I found a similar unsolved discussion regarding the formatting of x-axis 
values when using the `GENERIC_CHART_AXES` feature: [Format x-axis values when 
using GENERIC_CHART_AXES](https://github.com/apache/superset/discussions/23782) 
<sup>[[1]](https://github.com/apache/superset/discussions/23782)</sup>. 
Additionally, there was a closed issue related to custom SQL for the x-axis 
being broken, which was resolved by a pull request: [fix(plugin-chart-echarts): 
support adhoc x-axis](https://github.com/apache/superset/pull/20055) 
<sup>[[2]](https://github.com/apache/superset/issues/19974)</sup>.
   
   In your case, it seems that the custom D3 format syntax for non-timeseries 
data on the x-axis is not being applied as expected. This might be related to 
how Superset determines whether to apply a time format or a non-time format to 
the x-axis when the `GENERIC_CHART_AXES` feature is enabled. Superset checks if 
the x-axis value is an ad-hoc column or a physical column and applies the 
appropriate format based on whether the column is marked as a datetime 
(`is_dttm`) 
<sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-chart-controls/src/utils/displayTimeRelatedControls.ts)</sup>.
   
   If the issue persists, it might be worth checking if the x-axis data is 
being correctly identified as non-temporal and ensuring that the custom format 
is compatible with the data type.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/bab72942-bbf2-497f-9372-c1c4413a98e8?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/bab72942-bbf2-497f-9372-c1c4413a98e8?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/bab72942-bbf2-497f-9372-c1c4413a98e8?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/bab72942-bbf2-497f-9372-c1c4413a98e8?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/bab72942-bbf2-497f-9372-c1c4413a98e8?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/bab72942-bbf2-497f-9372-c1c4413a98e8?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/bab72942-bbf2-497f-9372-c1c4413a98e8?feedback_type=other)</sup>
   


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