Refreshing the Easy Chart

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

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?

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