# Refresh my chart

**URL:** <https://forum.inductiveautomation.com/t/refresh-my-chart/33501>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [March 28, 2020, 5:27pm UTC](https://forum.inductiveautomation.com/t/refresh-my-chart/33501 "2020-03-28T17:27:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 28, 2020, 6:35pm UTC](https://forum.inductiveautomation.com/t/refresh-my-chart/33501/2 "2020-03-28T18:35:10Z")

</div>

You put the trigger operations in a propertyChange event or wherever else you have the change happening (or button press or whatever) that is the reason you want the chart to update. That's up to you. The trick is to change something on the Classic Chart that fires its internal "start over" event--just updating the plot data isn't enough. As noted in this thread, simply assigning the same value to the plot background is enough:

> [@ConfigureChart Extension Function Trigger](http://forum.inductiveautomation.com/t/configurechart-extension-function-trigger/30713):
>
> I am dynamically changing the Y axis range of my chart in the ConfigureChart extension function. The range is based on a tag. However, the function does not execute when the tag changes even though the chart dataset is changing regularly. Any thoughts?

However, beware of the memory leak. Fixed in v8.0.6, but not yet fixed in v7.9.x.

---

_[View the full topic](https://forum.inductiveautomation.com/t/refresh-my-chart/33501)._
