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

3D Pie chart shows incorrect color after a drill-down

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.0.0
    • 2.1.1
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      1. load the attached example
      2. click an area within the pie to drilldown

      Current Result

      the pie shows one single color on the whole chart instead of several colors.

      Expected Result

      the pie shows various colors for different points

      debug info

      Root Cause

      Workaround

      • apply a overridden path mentioned in highcharts' tracker and replace highcharts.js and highcharts-3d.js with 4.1.8
        <script><![CDATA[
        zk.afterLoad('chart', function() {
            Highcharts.wrap(Highcharts.SVGRenderer.prototype, 'arc3d', function (proceed) {
                var result = proceed.apply(this, [].slice.call(arguments, 1));
                result.fadeIn = result.show;
                return result;
            });	
        });//zk.afterLoad
        ]]></script>
        

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

              Created:
              Updated:
              Resolved: