Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[swtchart-dev] Buffering Chart Data via a Bitmap

Currently SWTChart redraws everytime the user zooms in or out causing performance issues,
I looked at the issue-

Does that mean the chart will be converted into a graphic image and then scaled or resized whenever zoomed in or out instead of redrawing?
The chart can be converted into an image using ImageSupplier class,
ImageSupplier imageSupplier = new ImageSupplier();
ImageData imageData = imageSupplier.getImageData(scrollableChart.getBaseChart());
Image image=new Image(display,imageData);

Back to the top