control.Region(n).AddLineSeries

PurposeAdd a grid-based Line series to a region of a chart.
Parameter-
Return value-
Remarks

After adding a Line series object to a region you have accsess to it for setting all needed properties which belong to Line series objects, and to pass the data to the object. Each region can have up to 15 Line series, therefore you must pass an Index when you want to get access to a previously added Line series.

ExampleRMChartX1.AddRegion
RMChartX1.Region(1).AddLineSeries
RMChartX1.Region(1).LineSeries(1).LineStyle = RMC_LSTYLE_CABLE
RMChartX1.Region(1).LineSeries(1).DataArray = aData()