# Disable dcc.Loading animation on chart with hoverData callback

**URL:** <https://community.plotly.com/t/disable-dcc-loading-animation-on-chart-with-hoverdata-callback/29466>\
**Category:** Dash Python\
**Created:** [October 1, 2019, 4:16pm UTC](https://community.plotly.com/t/disable-dcc-loading-animation-on-chart-with-hoverdata-callback/29466 "2019-10-01T16:16:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethanopp](https://avatars.discourse-cdn.com/v4/letter/e/b19c9b/32.png) [@ethanopp](https://community.plotly.com/u/ethanopp)\
**Post date:** [October 1, 2019, 4:16pm UTC](https://community.plotly.com/t/disable-dcc-loading-animation-on-chart-with-hoverdata-callback/29466/1 "2019-10-01T16:16:36Z")

</div>

I currently have a graph inside of a dcc.Loading so when the page first opens, the loading animation shows the user that the graph is loading

```auto
dcc.Loading(className='twelve columns nospace height-85', children=[
      html.Div(id='power-curve', className='twelve columns', style={'height': '100%'})
])

```

The problem I am having is that I also have a callback that when hovering over this graph, it shows some of the data points as labels in a separate “chart” (KPIs) above the graph. Each time I move the cursor along the chart, the data-is-loading turns “true” and for a split second it shows the animation on the chart as if it were reloading again…

So is there a way to disable to “is\_loading” when just grabbing data from a hoverData callback?

---

<div class="post-metadata">

**Author:** ![chriddyp](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/chriddyp/32/16855_2.png) [@chriddyp](https://community.plotly.com/u/chriddyp)\
**Post date:** [October 2, 2019, 5:19pm UTC](https://community.plotly.com/t/disable-dcc-loading-animation-on-chart-with-hoverdata-callback/29466/2 "2019-10-02T17:19:30Z")

</div>

Great suggestion. I don’t think that this is possible right now. I’ve created an issue here: [https://github.com/plotly/dash/issues/951](https://github.com/plotly/dash/issues/951)
