On Sat, Oct 3, 2009 at 08:05, Pierre <[email protected]> wrote:
> Hi all,
>
> I'm trying to use the TAChart under 0.9.28.1 (I downloaded 
> "Lazarus-0.9.28.1-21932-fpc-2.2.4-20091001-win32.exe").
>
> I have a problem the OnDrawReticule event. It's never called :(

Hm, it works for me. Please see components/tachart/basic/demp.lpi as a
demo project.
If it does not help, please post a complete minimal project showing the problem.
Without such a project, I can guess that you either use wrong series type
(e.g. TPieSeries can not show reticule) or forget to set ReticuleMode property.

> I take a look at the source and I find that in the "UpdateReticule" procedure 
> (line 914 of TAGraph)
> the function "GetNearestPoint" is called but it always return False.

[skip code analysis]

GetNearestPoint is a virtual function, so you should look at the override
in the series type you actually use, not at basic empty stub.

-- 
Alexander S. Klenin

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to