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

drilldownLevels on cleaned up when using addSeriesAsDrilldown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.2.1.1
    • 3.0.3
    • Security Level: Jimmy
    • None

      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

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

              Created:
              Updated:
              Resolved:

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