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

   <!-- Greeting -->
   Hello, @janaperedni! I'm here to help you with any bugs, questions, or 
contributions. Let's take a look at the issue you've encountered.
   
   <!-- Answer -->
   The issue you're experiencing with bar plot labels not displaying for zero 
values might be related to the configuration setting `showBarValue`. If this 
property is set to `true`, labels for bar values, including zero values, should 
be displayed. You might want to check if this setting is enabled in your 
configuration 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js)</sup>.
   
   Additionally, the `drawBarValues` function, which is responsible for 
rendering labels, does not have an explicit condition to prevent labels for 
zero values. However, if the number formatter used in this function suppresses 
zero values, that could be the reason for the labels not appearing 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-preset-chart-nvd3/src/utils.js)</sup>.
 
   
   If the issue persists, you may need to investigate further into the number 
formatting logic or any CSS styles that might affect the visibility of these 
labels.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


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