TeeChart csLine with Stairs

Hi,

I would like to set the property "Stairs" by script:

addSeries (csLine);
SeriesData.DataType := dtFixedData;
Series.Title := RowStr;
Series.Stairs := true;

I get an access violaiton error at the line with "Stairs"
Is there any chance to set that property by script?

Thanks a lot for help,

Best regards,
Reinhard

Comments

  • gpigpi
    edited 4:12PM
    Try
    TLineSeries(Chart1.Series[0]).Stairs := True;
    

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.