# Stack bar chart refreshing error

**URL:** <https://community.plotly.com/t/stack-bar-chart-refreshing-error/5378>\
**Category:** Plotly R\
**Created:** [August 14, 2017, 1:26pm UTC](https://community.plotly.com/t/stack-bar-chart-refreshing-error/5378 "2017-08-14T13:26:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zwaz](https://avatars.discourse-cdn.com/v4/letter/z/e9a140/32.png) [@zwaz](https://community.plotly.com/u/zwaz)\
**Post date:** [August 14, 2017, 1:26pm UTC](https://community.plotly.com/t/stack-bar-chart-refreshing-error/5378/1 "2017-08-14T13:26:01Z")

</div>

My stack bar chart has a weird problem.  
When I click on one of the category legend, the small square, it grays out, but instead of stacking on the rest of the data, the stacks above would suspend there, not dropping down.  
I am using ggplotly for the ggplot bar chart. I thought it was my coding error, but then when I pasted the sample code from [https://plot.ly/ggplot2/geom\_bar/](https://plot.ly/ggplot2/geom_bar/), the problem still exists:  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/c/cd3551c0f320ed5018d24655ab683187b36b684d.png)
