mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 04:58:22 +02:00
TAChart: Fix range check on drawing empty line series
git-svn-id: trunk@25910 -
This commit is contained in:
parent
a8458a680e
commit
a895e51adb
@ -409,7 +409,7 @@ var
|
||||
// call becomes a bottleneck. So represent a serie as a sequence of polylines.
|
||||
// This achieves approximately 3x speedup for the typical case.
|
||||
SetLength(points, 2 * Count);
|
||||
SetLength(breaks, Count);
|
||||
SetLength(breaks, Count + 1);
|
||||
case LineType of
|
||||
ltFromPrevious: begin
|
||||
for i := 0 to Count - 2 do
|
||||
|
Loading…
Reference in New Issue
Block a user