Namespace: printManager

FusionCharts. printManager

Deprecated:
  • 3.4.0 - The removal of Flash variant of the charts discards the use of this function since. FusionCharts XT provides advanced print management using JavaScript for Mozilla/WebKit/Gecko based browsers like Firefox, Safari etc. Even though displayed properly on screen, printed output had been not proper in these browsers. So long! FusionCharts JavaScript class offers a separate Print Manger class to take care of this. The implementation of Print Manager is fairly simple. You will just need to add a single line of code in JavaScript which enables Print Manager for all charts present in a web page. Once enabled, all the charts present in a page are prepared to print correctly. Once the charts are ready, which can be tracked by listening to an event raised by the Print Manager, you can use browser's File → Print menu, JavaScript's native window.print() function or Print Manager's advanced function - managedPrint(). In any of these actions, the charts will come-up properly in the print media

    Methods

    <static> configure(configuration)

    Parameters:
    Parameter Description
    configuration
    Type:
    object.<string>
    Deprecated:
    • 3.4.0 - The removal of Flash variant of the charts discards the use of this function since. This method allows users to confiure and reconfigure the configuration of PrintManager!

      <static> isReady() → {boolean}

      Deprecated:
      • 3.4.0 - The removal of Flash variant of the charts discards the use of this function since. Check whether print manager is ready with all the charts rendered on page and can safely print them.
        Returns:
        Type:

        boolean

        <static> enabled(state) → {boolean}

        Parameters:
        Parameter Description
        state
        Type:
        boolean
        Deprecated:
        • 3.4.0 - The removal of Flash variant of the charts discards the use of this function since. Enable or disable canvas print manager. In case browser is not supported, enabling will not take place.
          Returns:

          status

          Type:

          boolean

          <static> managedPrint()

          Deprecated:
          • 3.4.0 - The removal of Flash variant of the charts discards the use of this function since.