[Lazarus] Specifying Y axis
Richard Mace
richard.mace at gmail.com
Sun Aug 16 21:40:51 CEST 2015
On 15 August 2015 at 10:38, Werner Pamler <werner.pamler at freenet.de> wrote:
> Chart1.Extent.YMax := 1;
> Chart1.Extent.YMin := 0;
> Chart1.Extent.UseYMax := true;
> Chart1.Extent.UseYMin := true;
>
> Call this before or after adding data to the series, or set it in the
> object inspector.
>
​Thanks Werner, That works great.
I've now got a the 0 as Min and the 1 as Max, however, it's also showing a
0.5 in the middle.
Any idea how I can remove that?
Also, is it possible to actually replace the 0 and 1 for words such as
"true" and "false"?
Thanks
Richard​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150816/f8c1ebe0/attachment-0003.html>
More information about the Lazarus
mailing list