[Lazarus] TAChart marks on mouseoverpoint

Andrea Mauri andrea.mauri.75 at gmail.com
Mon Sep 21 20:34:12 CEST 2009


I use trunk version of lazarus so I will check it.
thanks,
andrea

Alexander Klenin ha scritto:
> On Mon, Sep 21, 2009 at 23:39, Andrea Mauri <andrea.mauri.75 at gmail.com> wrote:
>   
>> Dear all,
>> I am using TAChart and I would like to see the mark of a point when the
>> point is clicked or the mouse is over it.
>> Actually I do it using tchart.hint, TChartMouseMove event and
>> GetNearestPoint function. In this way I show an hint any time the mouse pass
>> over a point. Is it possible to do it directly using Marks of TChart?
>> I would like to decide to show the mark of a single point and not for all
>> the points in the serie.
>>     
>
> If you do not mind using trunk version, then it is now possible ;-)
> See dragdropdemo project.
> Note however that this might have performance implications compared to your
> implementation, because showing/hiding the mark requires full chart redraw.
>
>   




More information about the Lazarus mailing list