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

drilldownLevels on cleaned up when using addSeriesAsDrilldown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 7.2.1.1
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Steps to Reproduce

      same example as ZKCHARTS-80

      drilldown, drillup, drilldown, drillup repeat()

      Current Result

      the collection Charts._drilldownLevels increases in size with every drilldown/drillup iteration (consuming memory)

      Expected Result

      cleanup the drilldown state automatically

      Debug Info

      Root Cause

      the onPlotDrillup event is not fired without a listener leaving the _drilldownLevels not cleaned up

      Workaround

      adding an empty onPlotDrillup listener fixes the problem

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rudyhuang rudyhuang
              Reporter:
              cor3000 cor3000
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h