Cannot affect pointer style to cubic spline series by code lazarus / 55-TAChart ---------------------------------------------------------------------- ironphil · 2012-06-26 13:41 I use some dynamically created cubic spline series and I want the pointers to be circles (psCircle). So I tried to following code to create and modifiy the series: Code: [Select]SplineSeries[index]:= TCubicSplineSeries.Create(FormMain.ChartMain); FormMain.ChartMain.AddSeries(SplineSeries[index]); SplineSeries[index].Pointer.Style:= psCircle; During compilation I got the message: Code: [Select]Error: Identifier not found "psCircle" I get the same error message for all the pointer styles. I am setting other properties (thickness and color) of those cubic spline series by code and it works and the series are displayed and behave properly. I am just stuck with the default pointer. Am I doing something wrong or is it a bug? ---------------------------------------------------------------------- Ask · 2012-06-26 15:56 Add "TATypes" unit to the "uses" clause. ---------------------------------------------------------------------- ironphil · 2012-06-26 16:25 That did it! Thanks.