TAChart: Fix inverted Y axis on TChartNavPanel's minimap. Issue #22978

git-svn-id: trunk@38841 -
This commit is contained in:
ask 2012-09-26 06:36:26 +00:00
parent f914971497
commit dc82e7be1e

View File

@ -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;