How to improve the rendering speed of graph widget?
How to improve the rendering speed of graph widget, especially when there are many dots?
How to improve the rendering speed of graph widget, especially when there are many dots?
That really depends on what you're trying to do. And you're not providing a lot of info here, so i'll have to guess. The "Graph widget" is not really an official, optimized widget. It's something that was used in a demo at some point and has gotten a life of its own :) So there are a few things to consider here.
Generally, the "Graph" uses the Canvas/Shape renderer which is calculated by CPU solely.
1) If you're targeting a very live graph with lots of updates or fast updates, this will be heavy on the CPU
2) If you're targeting a graph that only updates a small, new segment of the graph at certain intervals (like EEG / medical applications) then it will perform a lot better of course because you're only calculating a little at a time.
3) You could maybe use Cacheable Container to your advantage where you render a container (with graph) to a piece of memory and use that as input to a dynamic bitmap which can then be transferred using DMA2D at no cost to CPU.
So what're you trying to do? :)
/Martin
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.