werner.pamler at freenet.de
Thu Jun 4 00:05:42 CEST 2015
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
Maybe you are interested also in my forum posting of today containing a
lot of TAChart runtime code:
Am 03.06.2015 um 22:38 schrieb Richard Mace:
> On 3 June 2015 at 17:49, Werner Pamler <werner.pamler at freenet.de
> <mailto:werner.pamler at 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?
> 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
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus