[Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly
Alexander Klenin
klenin at gmail.com
Tue Apr 19 09:04:19 CEST 2011
On Tue, Apr 19, 2011 at 17:46, Miguel A. Risco <mriscoc at 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
More information about the Lazarus
mailing list