[Lazarus] TAChart marks on mouseoverpoint

Andrea Mauri andrea.mauri.75 at gmail.com
Thu Sep 24 12:11:09 CEST 2009


> I see. This is a borderline case, probably too exotic to be included
> in the general component.
> Still, if you have inclination to work on a patch, I would suggest to change
> TLineSeries.ShowLines property from boolean to enumeration
> (slNone, slFromPrevious, slFromOrigin).
>   

I created a patch (attached) introducing the property TLineType 
TLineType = (ltFromPrevious, ltFromOrigin);
I left unchanged the ShowLines property also for retro compatibility.
I think that could be useful set the Origin in some way (a Origin 
property?), by default Origin should be 0, 0 but could be changed by the 
user. Do you think it is a good idea?
Anyway actually I don't know how to do it...
Another thing is that if the Chart points have for example XMax= 2 Xmin= 
1 YMax =2 and YMin = 1 the Origin is not visible. How can I overcome 
this problem? Actually I do it using XMax, Xmin etc of the Extent 
property of  the TAChart, do you think that is it the best way?
andrea


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: taseries.patch
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090924/7bd46ac0/attachment-0004.ksh>


More information about the Lazarus mailing list