4 Replies Latest reply: Oct 8, 2014 8:01 AM by Bill Markham RSS

    Want to make qlikview extension which can be deployed on IE8

      Hi,

      I am new to Qlikview and trying make some extension which can be used on IE8.

      I am using R2D3.js for making D3.js compatible with IE8.

       

      But very simple code coluring text is not working,So, can someone please help me out of this.

       

      My html code is here, which is working fine on Browser :

      <!DOCTYPE html>

      <meta charset="utf-8">

      <!--[if lte IE 8]><script src="../r2d3.js"></script><![endif]-->

      <!--[if gte IE 9]><!-->

      <script src="../lib/d3/d3.js"></script>

      <script>alert("FSDF");</script>

      <!--<![endif]-->

      <p>

      hello

      </p>

      <script>

      d3.select("p").style("color", "red");

      </script>

      </html>



      My extension script code which is not working:


      Qva.LoadScript('https://getfirebug.com/firebug-lite-beta.js#startOpened=true', function () {

       

      Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/r2d3-master/r2d3.js", function() {

       

      Qva.AddExtension('QlikView/D3R2Piechart', function() {

       

      var _this = this;

       

      _this.Element.innerHTML ='<!DOCTYPE html>' + '<meta charset="utf-8' +'">'+'<p>hello</p>' ;

       

       

      d3.selectAll("p").style("color", "red");

      d3.select("body").style("background-color", "black");

       

      },true);

      } );

       

      });