# Refreshing the Easy Chart

**URL:** <https://forum.inductiveautomation.com/t/refreshing-the-easy-chart/5418>\
**Category:** Ignition\
**Created:** [November 13, 2012, 8:59pm UTC](https://forum.inductiveautomation.com/t/refreshing-the-easy-chart/5418 "2012-11-13T20:59:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jantonevich](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jantonevich](https://forum.inductiveautomation.com/u/jantonevich)\
**Post date:** [November 13, 2012, 8:59pm UTC](https://forum.inductiveautomation.com/t/refreshing-the-easy-chart/5418/1 "2012-11-13T20:59:02Z")

</div>

I hope I did not miss it in my scouring of the forum but…

I know I can use the refresh script on a table or things with a dataset, but an easy chart doesent have a property that can have my db pens refreshed (in historical mode).  
I thought this would work:

`table = event.source.parent.getComponent('Easy Chart')
fpmi.db.refresh(table, "pens")`

But i got this

```auto
WARN [PMIEasyChart-AWT-EventQueue-0] system.db.refresh() was unable to find a refresh-compatible property binding on Easy Chart.pens
```

Is there a way to refresh an easy chart using db pens?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [November 13, 2012, 10:12pm UTC](https://forum.inductiveautomation.com/t/refreshing-the-easy-chart/5418/2 "2012-11-13T22:12:01Z")

</div>

That should work. Is the DB pens dataset bound to a SQL query?
