[Lazarus] TAchart multiple reticules and vertical series alignment
Alexander Klenin
klenin at gmail.com
Sun May 30 10:19:25 CEST 2010
On Sun, May 30, 2010 at 15:15, Alexander Klenin <klenin at gmail.com> wrote:
> On Sun, May 30, 2010 at 14:02, Rick <rick at sloservers.com> wrote:
>
>> I am concerned about one thing, though: It looks like the tool will move
>> ANY TConstantLine series
>> on the chart. I would suggest a property in the drag tool that is a list of
>> movable lines. Perhaps
>> if empty, the default could be to move all TConstantLine series. What do
>> you think?
>
> Yes, I wanted to ask you the very same question ;-)
> The reason I did not implement it immediately is that I am not quite
> sure about the
> format of said property and how should it refer to the series.
> My current thinking is that it should be a simple comma-separated list
> of series indexes, but that seems somewhat un-Pascalish,
> so maybe you have a better idea?
>
> BTW, please do not write much code depending on current TConstantLineDragTool
> interface just yet -- I think I might change it substantially to a more general one.
>
Ok, I did it -- now the tool is called TDataPointDragTool and is applicable
to (almost) any editable series -- see dragdrop demo for an example.
It also has gained AffectedSeries property as described above.
--
Alexander S. Klenin
More information about the Lazarus
mailing list