mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 03:49:22 +02:00
TAChart: In TBSplineSeries, draw error bars only for YIndex=0, issue #35077.
git-svn-id: trunk@60448 -
This commit is contained in:
parent
7938907a0b
commit
836fbcfc4f
@ -1103,7 +1103,7 @@ var
|
||||
Styles.Apply(ADrawer, AStyleIndex);
|
||||
splineStart := 0;
|
||||
splineEnd := -2;
|
||||
while NextNumberSeq(FGraphPoints, splineStart, splineend) do begin
|
||||
while NextNumberSeq(FGraphPoints, splineStart, splineEnd) do begin
|
||||
ADrawer.MoveTo(ParentChart.GraphToImage(FGraphPoints[splineStart]));
|
||||
for j := splineStart to splineEnd + Degree - 1 do begin
|
||||
startIndex := j;
|
||||
@ -1128,7 +1128,7 @@ begin
|
||||
for i := 1 to Source.YCount-1 do begin
|
||||
UpdateGraphPoints(i-1, false);
|
||||
DrawSpline(i);
|
||||
DrawErrorBars(ADrawer);
|
||||
// error bars supported only for YLevel = 0 -- no DrawErrorBars here.
|
||||
DrawLabels(ADrawer, i);
|
||||
DrawPointers(ADrawer, i, true);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user