<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Oh - the old "uses" issue... "psCircle" is declared in unit TATypes
which is not added to "uses" automatically at runtime.<br>
<br>
At designtime, just use the ObjectInspector: The tree above the
Object Inspector shows the chart and the series as a child of the
chart. Click on the series to brings the series properties into the
Object Inspector. Scroll down a bit to see the "Pointer" property,
open the node and find the "Style".<br>
<br>
Maybe you are interested also in my forum posting of today
containing a lot of TAChart runtime code:
<a class="moz-txt-link-freetext" href="http://forum.lazarus.freepascal.org/index.php/topic,28628.msg179298.html#msg179298">http://forum.lazarus.freepascal.org/index.php/topic,28628.msg179298.html#msg179298</a><br>
<br>
<div class="moz-cite-prefix">Am 03.06.2015 um 22:38 schrieb Richard
Mace:<br>
</div>
<blockquote
cite="mid:CAK+KT386PC9h3TXXvi9Db7wBh_G_YmaZSUB+LCPNYNRCndL6Wg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 3 June 2015 at 17:49, Werner
Pamler <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:werner.pamler@freenet.de" target="_blank"
onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=werner.pamler@freenet.de&cc=&bcc=&su=&body=','_blank');return
false;">werner.pamler@freenet.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I
suppose you use a TLineSeries, but the same principle
should work for TBSplineSeries and TCubicSplineSeries<br>
<br>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;display:inline">
</div>
Chart1LineSeries1.Pointer.Style := psCircle; //
round points<br>
Chart1LineSeries1.Pointer.Pen.Style := psClear; // no
border<br>
</blockquote>
<div><br>
</div>
<div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;display:inline">
Thanks Werner.</div>
</div>
<div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;display:inline">That's
interesting,</div>
</div>
<div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;display:inline">
<div class="gmail_default" style="display:inline"> </div>
<span style="font-family:arial,sans-serif">Chart1LineSeries1.Pointer.Styl</span><span
style="font-family:arial,sans-serif">e := psCircle;
</span><br>
</div>
</div>
<div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;display:inline"><span
style="font-family:arial,sans-serif">Doesn't compile,
but I can navigate to it at design time?</span></div>
</div>
<div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;display:inline"><span
style="font-family:arial,sans-serif"><br>
</span></div>
</div>
<div>
<div class="gmail_default" style="display:inline">
<div style=""> chartMain.ClearSeries;</div>
<div style=""> FLine := TLineSeries.Create(chartMain);</div>
<div style=""> FLine.Marks.Style :=
TSeriesMarksStyle(4);</div>
<div style=""> FLine.Marks.OverlapPolicy :=
opHideNeighbour;</div>
<div style=""> FLine.ShowLines := true;</div>
<div style=""> FLine.ShowPoints := true;</div>
<div style=""> FLine.Pointer.Brush.Color := clBlue;</div>
<div style=""> FLine.Pointer.Style := psCircle;
<---- this line won't compile</div>
<div style=""><br>
</div>
<div style="">Richard</div>
<div style="font-family:arial,sans-serif"><br>
</div>
</div>
</div>
<div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;display:inline"><span
style="font-family:arial,sans-serif"><br>
</span></div>
</div>
<div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif;display:inline"></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>