On Tue, Apr 19, 2011 at 17:46, Miguel A. Risco <mris...@gmail.com> wrote: > Hi Alexander, your Project is ok, but if your put a tbutton and fill the > array on the Onclick event and not in the constructor of the form then the > series is not drawing after the zoom on the second point. If I comment the > line " if not RectIntersectsRect(ext, ParentChart.CurrentExtent) then exit;" > in the TASeries.pas unit then the series is drawing properly.
Ah, I see now. You need to call ds.Reset before ds.EndUpdate. Maybe Reset should be called automatically by EndUpdate... -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus