Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I am currently working on a mashup using Nebula.js to create a custom chart (specifically a treemap). The chart works as expected, but when I interact with it, as designed, the confirmation popup appears, asking me to confirm the selections.
Is there a way to configure the chart or Nebula.js to allow interactions to be confirmed automatically, bypassing the confirmation popup?
I would like the selections to take effect immediately without requiring user confirmation.
The code is:
async createViz() {
const themes = [
{
id: 'myTheme',
load: () => Promise.resolve(senseCustomTheme),
},
{
id: 'testTheme',
load: () => Promise.resolve(senseDefaultTheme),
},
];
const baseConfig = embed.createConfiguration({
load: () => Promise.resolve(treemap),
types: [
{
name: "treemap",
load: () => Promise.resolve(treemap),
}
],
themes,
context: {
deviceType: 'touch',
constraints: { select: false, active: false, passive: false },
theme: "myTheme"
},
});
const nebbie = baseConfig(this.qlikApp);
const chart2DOMElement: any = document.querySelector('#chart-container-product-1');
const createConfigChart2 = {
id: '000-000-000-80d9-d2066e280a0b',
element: chart2DOMElement
};
nebbie.render(createConfigChart2);
}
Any help or guidance would be greatly appreciated!
Thank you!
Cristian
Hey @cristian_dalsanto , no you cannot bypass it if you are embedding native Qlik visualizations. Pop-up comes along with the Qlik visualizations. If you want to avoid confirmation step, you could use an extension/custom visualization.
Hey @cristian_dalsanto , no you cannot bypass it if you are embedding native Qlik visualizations. Pop-up comes along with the Qlik visualizations. If you want to avoid confirmation step, you could use an extension/custom visualization.