2 Replies Latest reply: Aug 29, 2017 12:46 AM by Lech Miszkiewicz RSS

    Because with NPrinting june 2017 it does not allow to display the anychart extension

    Julio César Torres García

      Because with NPrinting june 2017 it does not allow to display the anychart extension


      Hello

      I have a doubt, because NPrinting does not allow me to view the anychart extension for qlikSense ?.

        • Re: Because with NPrinting june 2017 it does not allow to display the anychart extension
          Lech Miszkiewicz

          Hi Julio..

           

          not all extensions are supported. there are requirements they need to meet:

           

          All is here (which is above mentioned link):

          Requirements

          As of the Qlik Sense June 2017 release, all objects that have been added to a sheet can be used as images. Qlik NPrintingdoes not distinguish between native visualizations and extensions. However, for a third-party extension to render correctly, the JavaScript implementation of the extension needs to fulfill certain requirements. In particular, the extension must implement the "finished rendering" notification.

          A third-party extension can be used as a table if:

          • The object contains exactly one hypercube.
          • The hypercube is either straight or stacked.

          A third-party extension can be used as a level if:

          • The properties of the object contain exactly one hypercube.
          • The hypercube is either straight or stacked.
          • The hypercube has at least one dimension.
          • The hypercube contains no calculated or grouped dimensions.

          Qlik NPrinting does not support the exporting or printing of visualization extensions that use:

          • External resources.
          • Internal and undocumented JavaScript modules or APIs.

          Setting up a "finished rendering" notification

          To export your third-party extension as an image, you must use the paint method to inform Qlik NPrinting that the extension has finished rendering. Otherwise, you could have blank or partially rendered images.

          // ..., paint : function() { return qlik.Promise.resolve(); } // ...

           

           

          and here