[Lazarus] TAChart marks on mouseoverpoint
Alexander Klenin
klenin at gmail.com
Mon Sep 21 18:27:36 CEST 2009
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.
--
Alexander S. Klenin
More information about the Lazarus
mailing list