Stacked bar chart with ggplot2 and plotly groups with 1 observation the tooltip is missing.

Stacked bar chart has 2 bars charts.
We are using tooltip on both.
Tooltip is working fine but when we have just 1 observation , tooltip is missing however tooltip is working for one but not working for other in case of 1 observation.

Please help me on this.
What could be the reason for this ?

Please give me some inputs on this , it would be my great help.

I am looking forward a response.
Please help me on this as I got stuck with this issue.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this resources, to see how to create one for a shiny app