Hi,
Is it possible to create a sankey chart from the Qlik visualization bundle in a mashup? Looking at the Qlik visualiztion api documentation it does not look like that is possible. Please let me know if this is possible.
I have tried the following:
app.visualization.create('sankeychart', [{
"qDef": {
"qFieldDefs": ["foo"],
"qFieldLabels": ["Foo"]
}
},
{
"qDef": {
"qFieldDefs": ["bar"],
"qFieldLabels": ["Bar"]
}
},
{
"qDef": {
"qDef": "=sum(something)",
"qLabel": "Some label"
}
}]).then(vis => {
vis.show("div-foo-bar");
});
When I try the above I get teh following error in the console:
Uncaught (in promise) Devhub.Visualization.InvalidType