Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
JulienCms
Partner - Contributor II
Partner - Contributor II

nebula.js / amcharts error

Hello everyone,

I have a curious error when i try to import Amcharts 5 in my nebula project.

JulienCms_1-1645556794061.png

 

import { useEffect, useElement, useLayout } from '@nebula.js/stardust';
import properties from './object-properties';
import data from './data';

import amchart from '@amcharts/amcharts5';

export default function supernova() {
  return {
    qae: {
      properties,
      data,
    },
    component() {

      const element = useElement();
      const layout = useLayout();

      useEffect(() => {
        
        var qMatrix = layout.qHyperCube.qDataPages[0].qMatrix;
        console.log(qMatrix);
      
      }, [element, layout]);

      element.innerHTML = '<div>Hello!</div>'; // eslint-disable-line
    },
  };
}

Here is my code, do you already have this kind of errors ?

 

Thank you in advance,

Cordially

Labels (3)
0 Replies