From dc82e7be1e29f47f1dca7a2d7bd903d1b6723d3d Mon Sep 17 00:00:00 2001 From: ask Date: Wed, 26 Sep 2012 06:36:26 +0000 Subject: [PATCH] TAChart: Fix inverted Y axis on TChartNavPanel's minimap. Issue #22978 git-svn-id: trunk@38841 - --- components/tachart/tanavigation.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tachart/tanavigation.pas b/components/tachart/tanavigation.pas index 3acd7fb27f..9d8f6f5ddb 100644 --- a/components/tachart/tanavigation.pas +++ b/components/tachart/tanavigation.pas @@ -329,7 +329,7 @@ procedure TChartNavPanel.Paint; a := a * FScale + FOffset; b := b * FScale + FOffset; Result := Rect( - Round(a.X), Height - Round(a.Y), Round(b.X), Height - Round(b.Y)); + Round(a.X), Height - Round(b.Y), Round(b.X), Height - Round(a.Y)); end; end;