mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 06:36:01 +02:00
TAChart: Extend 0933dadcaf
to rotated area series
This commit is contained in:
parent
005e37a5a7
commit
4a975e2e79
@ -2288,6 +2288,7 @@ var
|
|||||||
|
|
||||||
var
|
var
|
||||||
j, k: Integer;
|
j, k: Integer;
|
||||||
|
R: TRect;
|
||||||
begin
|
begin
|
||||||
if IsEmpty or (not Active) then exit;
|
if IsEmpty or (not Active) then exit;
|
||||||
|
|
||||||
@ -2308,7 +2309,12 @@ begin
|
|||||||
scaled_depth := ADrawer.Scale(Depth);
|
scaled_depth := ADrawer.Scale(Depth);
|
||||||
SetLength(pts, Length(FGraphPoints) * 4 + 4);
|
SetLength(pts, Length(FGraphPoints) * 4 + 4);
|
||||||
|
|
||||||
ADrawer.ClippingStart(ParentChart.ClipRect);
|
R := ParentChart.ClipRect;
|
||||||
|
if IsRotated then
|
||||||
|
inc(R.Left, ParentChart.LeftAxis.AxisPen.Width div 2 + 1)
|
||||||
|
else
|
||||||
|
dec(R.Bottom, ParentChart.BottomAxis.AxisPen.Width div 2 + 1);
|
||||||
|
ADrawer.ClippingStart(R);
|
||||||
try
|
try
|
||||||
CollectMissing;
|
CollectMissing;
|
||||||
if Length(missing) = 0 then
|
if Length(missing) = 0 then
|
||||||
@ -2337,6 +2343,7 @@ begin
|
|||||||
ADrawer.ClippingStop;
|
ADrawer.ClippingStop;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
DrawErrorBars(ADrawer);
|
||||||
DrawLabels(ADrawer);
|
DrawLabels(ADrawer);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user