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

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 3.0.0
    • 2.1.1
    • Security Level: Jimmy
    • None

      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>
      

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

              Created:
              Updated:
              Resolved: