Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
I am just getting started with extensions and have worked through the codeacademy js tutorials and also the excellent extension tutorial by bahduong on the Qlikfix
I'm now trying to create my first visualisation using D3 but I am obviously missing something. I've been using the template files but this one I have stripped right back to try and get it working.
The qar includes the extension, a qvw which just has the extension in and also index.htm where I am checking that the code works.
At the moment the extension just comes up blank (no errors), I'm sure its something very obvious but I can't spot it!
Running it through the console I get this following error and it tells me it is in the D3 script which I am guessing is not correct
Ah god, a day to find:
var template_path = Qva.Remote + "?public=only&name=Extensions/05a Really Basic Chart";
should have been:
var template_path = Qva.Remote + "?public=only&name=Extensions/05a Really Basic Chart/";
I love learning new code.....
anyone?
Ok so randomly I loaded up this example which is similar to what I am attempting
https://github.com/wallyflops/d3Graph/blob/master/d3Bar.qar
I put an this object in my qvw and my extension also came to life, so guessing it is the way I am loading D3, back to check my code
Ah god, a day to find:
var template_path = Qva.Remote + "?public=only&name=Extensions/05a Really Basic Chart";
should have been:
var template_path = Qva.Remote + "?public=only&name=Extensions/05a Really Basic Chart/";
I love learning new code.....