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

Alexander Klenin klenin at gmail.com
Tue Apr 19 08:13:35 CEST 2011


2011/4/19 Miguel A. Risco <mriscoc at gmail.com>:
> 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 assign values to the array on the
> Tbutton onclick event. Populate the AItem values with the data in the array.
> Sometimes when I zoom the chart the serie is not redrawing. (The example
> project is not attached because size limit of the message). Make a zoom on
> the second point [0.1,0.5] but without include the zero Y axis value, the
> serie is not drawing but if the zero level is included in the zoom then the
> serie is drawing correctly)

I can not reproduce on WindowsXP with Lazarus trunk.
I am not sure what problem did you have with the attachment -- it should be
very small. I have created an example project for you -- do you see
the issue with it?

-- 
Alexander S. Klenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: userdefseries_zoom_test.7z
Type: application/octet-stream
Size: 1905 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110419/ae1e982b/attachment-0003.obj>


More information about the Lazarus mailing list