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

Create a chart via the load script

Is is possible to create a chart via the load script? Specifically, a pivot or straight table. I want to create the chart and dynamically add dimensions and expressions, based upon values from the loaded data. I already know how to make dynamic charts, but I'd like to build this one at load time.


2 Replies
Not applicable

Re: Create a chart via the load script

I don't think you can create a chart during the script execution.What you could do is write macro to create a chart and then maybe call/run this macro "onpostreload" event. (document event triggers). Not a good idea though.

Not applicable

Re: Create a chart via the load script

You could create a chart that uses variables for dimensions and expressions. And then populate the variables in the script to define the chart.