Skip to content

Instantly share code, notes, and snippets.

@erikwett
Last active March 25, 2017 21:32
Show Gist options
  • Save erikwett/8093fdf784e8c54213ba to your computer and use it in GitHub Desktop.
Save erikwett/8093fdf784e8c54213ba to your computer and use it in GitHub Desktop.
Create a chart with Qlik Sense Visualization API
app.visualization.create('barchart', // a bar chart
["Case Owner Group", // one dimension
"=Avg([Case Duration Time])"], // one measure
{"title":"On the fly barchart"}). // set the title
then(function(vis){ // when its ready
vis.show("QV03"); // show the chart
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment