TLineSeries marks style lazarus / 55-TAChart ---------------------------------------------------------------------- Davidous · 2019-06-27 11:33 Hello, a question again... In my Unit1.lfm is: object sugar: TLineSeries       Legend.Visible = False       Marks.Distance = 2       Marks.AutoMargins = False       Marks.Format = '%2:s'       Marks.Frame.Visible = False       Marks.LabelBrush.Color = clNone       Marks.LabelBrush.Style = bsClear       Marks.LinkPen.Visible = False       Marks.Style = smsLabel       LineType = ltNone       Pointer.HorizSize = 0       Pointer.VertSize = 0       Pointer.Visible = False     end In this you can see the Marks.Style = smsLabel line. It works without any problem... When I try to do this at runtime with sugar.marks.style:=smsLabel I got an error with the text: Identifier not found "smsLabel" Why is that? ---------------------------------------------------------------------- wp · 2019-06-27 12:01 This is declared in unit TAChartUtils, IIRC. ---------------------------------------------------------------------- Davidous · 2019-06-27 12:09 Thank you, now it works!