slow chart rendering after zkau

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 3.0.1
    • Affects Version/s: 3.0.0
    • Security Level: Jimmy

      Steps to Reproduce

      run the attached example
      click button "(1) ..."

      Current Result

      initial chart rendering -> almost immediate
      rendering after model was initally NULL (Button sequence: 1) -> slower
      subsequent rendering after first time (Button sequence: 1 (slow) 1 1 1) -> fast
      rendering after setting the model to NULL (Button sequence: 2 1 2 1 ...) -> slow (also causes NPEs)
      rendering after setting an empty model (Button sequence: 3 1 3 1 ...) -> fast

      Expected Result

      the chart rendering should be equally fast when rendering the same data

      Debug Info

      check chrome profile for timing details

      Root Cause

      Workaround

      avoid rendering a chart with a NULL model
      -> at least set an empty model (e.g. new DefaultCategoryModel(); )

            Assignee:
            rudyhuang
            Reporter:
            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 - 7 hours
                7h