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

initially removed series freezes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3
    • Security Level: Jimmy
    • Labels:

      Description

      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)

        Attachments

          Activity

            People

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