Oh - the old "uses" issue... "psCircle" is declared in unit TATypes
which is not added to "uses" automatically at runtime.
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".
Maybe you are interested also in my forum posting of today containing a
lot of TAChart runtime code:
http://forum.lazarus.freepascal.org/index.php/topic,28628.msg179298.html#msg179298
Am 03.06.2015 um 22:38 schrieb Richard Mace:
On 3 June 2015 at 17:49, Werner Pamler <werner.pam...@freenet.de
<mailto:werner.pam...@freenet.de>> wrote:
I suppose you use a TLineSeries, but the same principle should
work for TBSplineSeries and TCubicSplineSeries
Chart1LineSeries1.Pointer.Style := psCircle; // round points
Chart1LineSeries1.Pointer.Pen.Style := psClear; // no border
Thanks Werner.
That's interesting,
Chart1LineSeries1.Pointer.Style := psCircle;
Doesn't compile, but I can navigate to it at design time?
chartMain.ClearSeries;
FLine := TLineSeries.Create(chartMain);
FLine.Marks.Style := TSeriesMarksStyle(4);
FLine.Marks.OverlapPolicy := opHideNeighbour;
FLine.ShowLines := true;
FLine.ShowPoints := true;
FLine.Pointer.Brush.Color := clBlue;
FLine.Pointer.Style := psCircle; <---- this line won't compile
Richard
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus