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 - Scaling a layout with a chart gets pixelated
Summary: Scaling a layout with a chart gets pixelated
Status: RESOLVED FIXED
Alias: None
Product: FireMonkey TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 03:59 EDT by yeray alonso
Modified: 2016-04-04 03:54 EDT (History)
1 user (show)

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


Attachments
test project (2.09 KB, application/zip)
2015-09-17 03:59 EDT, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
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;