Results 1 to 3 of 3

Thread: Screen flicker when updating chart data

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default Screen flicker when updating chart data

    I'm rendering a dashboard using stack and pie charts. Each chart is associated with a store. Every 5 seconds a web service is called and and the associated store is updated from the response data. The charts draw nicely according to the changed data. However, with each redraw there is a noticable flicker of the screen (iPad).

    Any ideas, what causes such a flicker, which btw. happens only on Safari. Doing the same rendering on Chrome does not flicker. Unfortunately a solution on iOS works with the Safari engine.

    Some quick experiments with the InfoVis charting library showed no flicker. Unfortunately the integration with the Sencha Touch components is rather tricky.

    - klaus.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    This is the time it takes to remove all records and add new records in which will redraw everything.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default

    I'm not sure I understand.
    That's what I'm doing: per ajax call fill a single record into a set of stores (each store gets a different record). Each stores always has only a single record. That means a new record overwrites the old one. With each record there is bar chart associated, which repaints after the record is written. The charts animate nicely between the changed data. Is there a better strategy to update the stores?

    - klaus.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •