Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 817 - Efect when zoom and fullrepaint
Summary: Efect when zoom and fullrepaint
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: TeeChart.NET 2014 4.1.2014.02060
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-27 03:03 EDT by acastro
Modified: 2014-06-30 06:22 EDT (History)
3 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
screenshot (42.48 KB, image/png)
2014-06-27 03:03 EDT, acastro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acastro 2014-06-27 03:03:13 EDT
Created attachment 233 [details]
screenshot

Sometimes I see the efect (dupplicating/triplicationg... ) of the screenshot, and I noticed it is due to FullRepaint. 

Project to reproduce
http://193.145.251.126/pnp/files/AIsMBAUwf/TestTeechart3.zip
Press button1, and then move the mouse with left button clicked to set the zoom
Comment 1 christopher ireland 2014-06-30 06:22:24 EDT
I think the problem here is that the zoom code should work with:

tChart1.Zoom.Pen.Visible = true;
tChart1.Zoom.FullRepaint = false;

which it presently doesn't. This has now been fixed. With this fix, even with 100,000 points in a Line series the zoom rectangle paints without duplicating itself. 

The original issue:

tChart1.Zoom.Pen.Visible = true;
tChart1.Zoom.FullRepaint = true;

still exists, and this is because repainting a chart with 100,000 points in a Line series is not instantaneous. This is precisely why the FullRepaint property was added into the Zoom code.