mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:29:29 +02:00
TAChart: Fix DataPoint tools not finding stacked TBarSeries values.
git-svn-id: trunk@63884 -
This commit is contained in:
parent
1be98b28e2
commit
b842bf6451
@ -1715,7 +1715,9 @@ begin
|
||||
AResults.FDist := 0;
|
||||
AResults.FIndex := pointindex;
|
||||
AResults.FYIndex := stackIndex;
|
||||
AResults.FValue := DoublePoint(Source[pointindex]^.X, Source[pointindex]^.GetY(stackIndex));
|
||||
AResults.FValue := DoublePoint(Source[pointIndex]^.X, Source[pointindex]^.GetY(stackIndex));
|
||||
if FStacked and (stackIndex > 0) then
|
||||
AResults.FValue.Y := AResults.FValue.Y + heights[stackIndex];
|
||||
AResults.FValue := AxisToGraph(AResults.FValue);
|
||||
AResults.FImg := ParentChart.GraphToImage(AResults.FValue);
|
||||
Result := true;
|
||||
|
Loading…
Reference in New Issue
Block a user