we recently received our license and the decision was to convert a trial version of a Qlik Sense extension using an older version of Highcharts to the latest version.
before, we copied an extension from Qlik Branch and used the version of highcharts in the repository. everything was working fine. now we replaced the reference to the highcharts lib from the following:
Code: Select all
requirejs.config({ shim : {"extensions/highcharts/js/highchartslib" : {"deps" : []}}});
define( [ "qlik", "/extensions/#######js","./#####", 'text!./####.css',
"extensions/highcharts/js/highchartslib"
],
function ( qlik, properties, lineChart, cssContent) {
to
Code: Select all
requirejs.config({ shim : {"https://code.highcharts.com/highcharts.js" : {"deps" : []}}});
define( [ "qlik", "/extensions/#######.js","./######", 'text!./#####.css',
"https://code.highcharts.com/highcharts.js"
],
function ( qlik, properties, lineChart, cssContent) {
Code: Select all
var thisChart= $('#'+ChartData.Configuration.Container).highcharts({
chart: {
Code: Select all
Highcharts.chart('container', {
thanks,
edwin