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

initially removed series freezes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.3
    • 3.0.2
    • Security Level: Jimmy

      Steps to Reproduce

      run removed-series-freezes.zul

      click buttons 1), 2)

      Current Result

      nothing happens

      Expected Result

      1) the series should be removed
      2) its data should be replaced

      Debug Info

      the second series which was not initially removed doesn't have this problem.

      Root Cause

      When calling series.remove() before initial rendering the series freezes ...
      i.e. its OptionDataListener is being removed without actually removing the series from the series collection, leaving it unresponsive to subsequent OptionDataEvents

      Workaround

      Don't call series.remove() initially (initially this is can be avoided by not creating/removing series unnecessarily)

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            3 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