Search code examples
delphifiremonkeyteechart

How to put FastLineSeries LineMode=Stairs programmatically?


You can do it on the editor but how to code it? There is no

Chart1.Series[i].LineMode 

or

Chart1.Series[i].Stairs

Solution

  • You should type cast series to TFastLineSeries:

      (Chart1.Series[i] as TFastLineSeries).Stairs:=True;