[Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-18 Thread Miguel A. Risco
Hi All, I found a possible Bug in TAChart component. Lazarus v0.9.30.1 SVN:3056 on Windows 7 x64 Create a Project with a TChart and TButton controls, add a TLineseries and TUserDefinedChartSource with some points, select the last one as source for the serie. Define a Var array of real and assig

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-18 Thread Alexander Klenin
2011/4/19 Miguel A. Risco : > Hi All, I found a possible Bug in TAChart component. Lazarus v0.9.30.1 >  SVN:3056 on Windows 7 x64 > > Create a Project with a TChart and TButton controls, add a TLineseries and > TUserDefinedChartSource with some points, select the last one as source for > the serie.

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-18 Thread Miguel A. Risco
then exit;" in the TASeries.pas unit then the series is drawing properly. Best regards Miguel. -Mensaje original- De: Alexander Klenin [mailto:kle...@gmail.com] Enviado el: martes, 19 de abril de 2011 01:14 a.m. Para: Lazarus mailing list Asunto: Re: [Lazarus] TAChart possible Bug: S

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-19 Thread Alexander Klenin
On Tue, Apr 19, 2011 at 17:46, Miguel A. Risco 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

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-19 Thread Miguel A. Risco
Bug: Series with UserDefinedChart Source not are redrawing properly On Tue, Apr 19, 2011 at 17:46, Miguel A. Risco 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 af

Re: [Lazarus] TAChart possible Bug: Series with UserDefinedChart Source not are redrawing properly

2011-04-19 Thread Alexander Klenin
On Tue, Apr 19, 2011 at 18:15, Miguel A. Risco wrote: > Calling ds.Reset make the fix. I also think that Reset could be called by > EndUpdate. Done in r30379 -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http