Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.


Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Refresh chart in the script


At the end of my script I call a program that creates a JPG of a graph object.

My problem is that the graph is not updated before the script has finished, so I get an export of an old object.

Is it possible to trigger an update of the graph object in the script?

2 Replies

Refresh chart in the script

Not that I'm aware of.

Alternatively you could look to move the export of the chart into a macro within your .qvw that is triggered 'OnReload' / 'PostReload'.

The script for the macro shouldn't be difficult and as the macro is triggered only after the reload has finished the chart should update.

Hope that helps,

Matt - Visual Analytics Ltd

Not applicable

Refresh chart in the script

Hi Matt,

Thanks for the answer. Unfortunately the result is the same.

I made a macro that call my export program. The macro is activated on "OnPostReload".

Still the graph is not updated before it is exported.