Uploaded image for project: 'ZK Charts'
  1. ZK Charts
  2. ZKCHARTS-47

Upgrade to Highcharts 4.1.8 (or above) to support offline exporting

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 2.1.1
    • Fix Version/s: 3.0.0
    • Security Level: Jimmy
    • Labels:
      None

      Description

      According to http://www.highcharts.com/docs/export-module/client-side-export, Highcharts supports client-side exporting. But the http://code.highcharts.com/4.1.8/modules/offline-exporting.js is only available since 4.1.8 and cannot work correctly with the current version.

      workaround

      use another client-side export plugin http://a----.github.io/highcharts-export-clientside/#installation

      <zk>
      <script type="text/javascript" src="http://gabelerner.github.io/canvg/rgbcolor.js"></script> 
      <script type="text/javascript" src="http://gabelerner.github.io/canvg/StackBlur.js"></script>
      <script type="text/javascript" src="http://gabelerner.github.io/canvg/canvg.js"></script> 
      <script defer="true" src="highcharts-export-clientside.js"></script>
          <div apply="org.zkoss.zkcharts.essentials.PluginComposer" >
              <charts id="mychart" type="pie"/>
          </div>
      
      </zk>
      

        Attachments

          Activity

            People

            Assignee:
            christopherszu christopherszu
            Reporter:
            hawk hawk
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: