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 1309

Summary: Scaling a layout with a chart gets pixelated
Product: FireMonkey TeeChart Reporter: yeray alonso <yeray>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=17&t=15759
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: test project

Description yeray alonso 2015-09-17 03:59:51 EDT
Created attachment 499 [details]
test project

Incrementing the Scale in either a Layout containing a TChart or directly in a TChart, stretches the chart and it looks pixelated.

See the attached project.
Comment 2 yeray alonso 2015-09-17 04:02:04 EDT
Reproduced with RAD 10 Seattle and TeeChart v2015.16.
Comment 3 david berneda 2016-04-04 03:54:31 EDT
The problem is firemonkey's layout scale does not work fine if the Chart has a "buffered canvas".

In the latest TeeChart code, buffered is now disabled by default, so this problem no longer exists.

Workaround for previous TeeChart versions is to disable buffered (set to FALSE):

 Chart1.BufferedDisplay:=False;

Adding a checkbox to this issue attached test project shows the difference:

procedure TForm1.CheckBox3Change(Sender: TObject);
begin
  Chart1.BufferedDisplay:=CheckBox3.IsChecked;
  Chart1.Invalidate;

  Chart2.BufferedDisplay:=CheckBox3.IsChecked;
  Chart2.Invalidate;
end;