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

   <!-- Greeting -->
   Hey @rea725! 👋 I'm here to help you with any bugs, questions, or 
contributions you have for the project. Let's squash those bugs together!
   
   <!-- Answer -->
   The issue with value labels on a stacked bar chart showing 0.0 instead of 
the actual values in Superset version 5.0.0 could be related to the 
`getNumberFormatter` function not being correctly configured or returning a 
formatter that defaults to 0.0. The `drawBarValues` function uses this 
formatter to display the values on the chart. If 
`getNumberFormatter(axisFormat)` is not returning the correct formatter, it 
could lead to the labels displaying 0.0. You may need to check the 
configuration or implementation of `getNumberFormatter` to ensure it is set up 
to format the numbers correctly based on the `axisFormat` provided 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-preset-chart-nvd3/src/utils.js)</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/a9d57137-747c-4b7e-a706-4bb3f1599f99?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/a9d57137-747c-4b7e-a706-4bb3f1599f99?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/a9d57137-747c-4b7e-a706-4bb3f1599f99?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/a9d57137-747c-4b7e-a706-4bb3f1599f99?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/a9d57137-747c-4b7e-a706-4bb3f1599f99?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/a9d57137-747c-4b7e-a706-4bb3f1599f99?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/a9d57137-747c-4b7e-a706-4bb3f1599f99?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