Chart overrides default highcharts methods, doesn't match current API

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical
    • 12.2.0.0
    • Affects Version/s: 11.2.0.0
    • Security Level: Jimmy

      Steps to Reproduce

      1. Load a pie chart: https://www.zkoss.org/zkchartsdemo/pie_basic
      2. Click on a slice
      3. While the animation is playing, click on another slice

      Current Result

      both slices (fat, water) stay highlighted

      Expected Result

      try https://www.highcharts.com/docs/chart-and-series-types/pie-chart
      only the selected slice is highlighted (default behavior on non-zk highcharts of the same version)

      Debug Information

      In Charts.js, in the static hidden block

      H.wrap(H.Point.prototype, 'select', function (select, selected, accumulate, fromServer) {
      

      This overrides the default Highcharts.Point.prototype.select function.
      Current override version is based on an older highcharts version, which is no longer matching the current highcharts version of this function.

      Workaround

            Assignee:
            DevChu
            Reporter:
            MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: