dosubot[bot] commented on issue #33246:
URL: https://github.com/apache/superset/issues/33246#issuecomment-2830896263
<!-- Answer -->
The extra single quotes around the dash in the x-axis labels (e.g., `16 '-'
311.6`) in the histogram on Apache Superset version 4.2.0.5 are intentional.
The code in `transformProps.ts` explicitly formats the x-axis labels by
concatenating the formatted values with a dash surrounded by single quotes:
```ts
return `${xAxisFormatter(array[0])} '-' ${xAxisFormatter(array[1])}`;
```
This line of code is responsible for adding the single quotes around the
dash, indicating that it is a deliberate formatting choice
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/Histogram/transformProps.ts)</sup>.
<!-- 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/362daf2a-1508-4a58-a9e2-0168135a5d0b?feedback_type=great_response)
| [Irrelevant
Answer](https://app.dosu.dev/response-feedback/362daf2a-1508-4a58-a9e2-0168135a5d0b?feedback_type=irrelevant_answer)
| [Incorrect
Sources](https://app.dosu.dev/response-feedback/362daf2a-1508-4a58-a9e2-0168135a5d0b?feedback_type=incorrect_sources)
| [Too
Verbose](https://app.dosu.dev/response-feedback/362daf2a-1508-4a58-a9e2-0168135a5d0b?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/362daf2a-1508-4a58-a9e2-0168135a5d0b?feedback_type=hallucination)
| [Bug
Report](https://app.dosu.dev/response-feedback/362daf2a-1508-4a58-a9e2-0168135a5d0b?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/362daf2a-1508-4a58-a9e2-0168135a5d0b?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]