Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using scrolling BufferedImages instead of completely repainting graphs. #4

Open
InsertCreativityHere opened this issue Feb 1, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@InsertCreativityHere
Copy link
Owner

The current rendering strategy for graphs is to clear the graph display, and redraw it from scratch everytime with calls to drawLine(...)

It might be worth looking into instead rendering everything onto a BufferedImage and 'scrolling' it instead, so that instead of redrawing the graph everytime from scratch, we'd only have to paint 1 extra line to the BufferedIMage, then perhaps 'scroll' it before displaying, which may be more performant.

@InsertCreativityHere InsertCreativityHere added the enhancement New feature or request label Feb 1, 2020
@InsertCreativityHere InsertCreativityHere added this to the 1.1.0 milestone Feb 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant