Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi There
When using the capability apis and the visualization create method I cant see a way to assign the chart to an alternate state, how can I create a visualization and have it work off of an alternate state?
Thanks
Dom
Hi @Domski74 , please see below example for creating a visualization on the fly with an alternate state
app.visualization.create('barchart',["Dim1","=Sum(Expression1)"], {qStateName:"MyState"}).then(function(bar){
bar.show('QV02');
});