# Disable hoverinfo for specific bars in a barchart

**URL:** <https://community.plotly.com/t/disable-hoverinfo-for-specific-bars-in-a-barchart/28741>\
**Category:** 📊 Plotly Python\
**Created:** [September 16, 2019, 12:58pm UTC](https://community.plotly.com/t/disable-hoverinfo-for-specific-bars-in-a-barchart/28741 "2019-09-16T12:58:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DataWiz](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@DataWiz](https://community.plotly.com/u/DataWiz)\
**Post date:** [September 16, 2019, 12:58pm UTC](https://community.plotly.com/t/disable-hoverinfo-for-specific-bars-in-a-barchart/28741/1 "2019-09-16T12:58:40Z")

</div>

I’m trying to find a solution for disabling hover info on “empty” data points.  
“Empty” because I have a %-based barchart where I fill empty data points with dummy data in order to still display the bar. The resulting hoverinfo with all the 0-information are less than ideal, so I’d like to find a way to disable those whenever the data point is completely empty.  
It currently looks like this:  
 ![grafik](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/3/3dc2c80efd797da29184343643b87474d13f8eb0.png)  
`hoverinfo:'none'` only seems to work for an entire trace at a time, so it would automatically remove the hoverinfo from the other bars (in this case ‘Total’) as well. Is there any way to set the hover-properties of a single datapoint within a trace, without affecting the others?
