Tachart : Accessing to series ... lazarus / 55-TAChart ---------------------------------------------------------------------- Gozaki · 2011-01-06 13:53 Hello ! Newcomer to Lazarus, I've a question regarding the Tachart Component. How to do something like that : form1.chart1.Series.Items[nbrtrace].AddXY(i*step,j,'',clRed); Thanks ---------------------------------------------------------------------- typo · 2011-01-06 14:11 Could you explain what does it mean? ---------------------------------------------------------------------- Gozaki · 2011-01-06 14:36 Sure ! I'm reading a binary file (using streams) containing interleaved oscilloscope traces. There is 16 traces in the file. I've thus created a chart with 16 series. I would like to add points to the chart series using such code : For i:= 0 to tracenumber do  for j:=0 to xypointsnumber do     chart.serie.items.addXY (x,y,'',clred) Thanks ---------------------------------------------------------------------- typo · 2011-01-06 14:39 Perhaps you can add them like this: Code: [Select]TBarSeries(chart1.Series[nbrtrace]).AddXY(i*step,j,'',clRed); ---------------------------------------------------------------------- Gozaki · 2011-01-06 14:57 It's working ! Thanks a lot !