Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
cristian_dalsanto
Partner - Contributor III
Partner - Contributor III

Configuring Nebula.js Chart for Interactions Without Confirmation Popup

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? 

cristian_dalsanto_0-1727175371922.png

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

 

Labels (4)
1 Solution

Accepted Solutions
alex_colombo
Employee
Employee

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.

View solution in original post

1 Reply
alex_colombo
Employee
Employee

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.