TAChart: Fix missing axis labels if chart uses transformations to provide an inverted axis for paned chart.

git-svn-id: trunk@46884 -
This commit is contained in:
wp 2014-11-19 10:24:39 +00:00
parent 2e1ff92919
commit 5b6597fee6
2 changed files with 3 additions and 6 deletions

View File

@ -326,7 +326,9 @@ var
begin
coord := GraphToImage(AMark);
if
not IsInClipRange(coord) or not InRangeUlps(AMark, FValueMin, FValueMax, 2)
not IsInClipRange(coord) or
((FValueMax >= FValueMin) and not InRangeUlps(AMark, FValueMin, FValueMax, 2)) or
((FValueMax < FValueMin) and not InRangeUlps(AMark, FValueMax, FValueMin, 2))
then exit;
if FAxis.Grid.Visible then begin

View File

@ -22,11 +22,6 @@
<RangeChecks Value="True"/>
</Checks>
</CodeGeneration>
<Linking>
<Debugging>
<DebugInfoType Value="dsDwarf2"/>
</Debugging>
</Linking>
</CompilerOptions>
<Description Value="TeeChart compatible graph component"/>
<License Value=" See the file COPYING.modifiedLGPL, included in this distribution,