|Anonymous | Login | Signup for a new account||2021-01-20 10:03 UTC|
|Main | My View | View Issues | Roadmap | Repositories|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000658||OLV||User Interface||public||2012-08-22 21:04||2012-08-22 21:04|
|Target Version||0.0.4||Fixed in Version|
|Summary||0000658: Speed up graph moving/painting, likely using frame shifting.|
|Description||Right now the graph is painted from beginning to end every time the graph moves. There should be a way to make use of the portion that has already been drawn, and only draw the stuff that needs to be displayed anew.|
This should be simple enough to implement for zoomed in states all the way to 1:1 zoom.
With the way the graph traces are drawn when zoomed out beyond 1:1, it might not be as simple as drawing the new trace shape without going through the whole trace from beginning to end. In this case, it might make more sense to simply paint the traces as required and then cache the image, building upon that image cache as new sections are painted. If the user scrolls to a place that is completely contained within the cache then that can be retrieved instead of having to paint again. This should be much faster than painting.
Each zoom level will need its own cached image, and adding/removing divisions/traces will require new caches as well. As the caches fill quickly during normal use the speed of the application when scrolling the graph should increase quite a bit.
Other ideas are welcome.
|Tags||No tags attached.|
|Copyright © 2000 - 2011 MantisBT Group|