Easy chart Unit and Unit Count Binding Problem

Hello.
I want to use a Reset PushButton on a template to reset an Easy Chart Realtime mode Unit and Unit Count to 60 and 10 to reset the real time display to 10 minutes which is it’s default setting.

On my template i add 2 property "ChartUnitCount and chartUnit and i am writing 60 and 10 to those properties when the PB is activated. After, I did Bind the Realtime Unit and Unit Count of my Easy chart to thoses property. but it doesn’t work after the initial bindings.

If i am using a PB outside the Template with a script that acces those properties directly it is working. But i would prefer to have this button on a template.

Never mind i found a work around that is working…

Thanks anyways