Class StepLineSeries
Represents a step line chart. To render this chart, create an instance of this class and add it to Series collection property and set the required properties.
Inherited Members
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class StepLineSeries : XyDataSeries, IThemeElement
Remarks
StepLineSeries requires ItemsSource, XBindingPath and
YBindingPath properties to be set to render the chart. This series also requires x-axis
and y-axis to be explicitly set either using PrimaryAxis and
SecondaryAxis or XAxis and
YAxis.
Examples
SfChart chart = new SfChart();
chart.PrimaryAxis = new CategoryAxis();
chart.SecondaryAxis = new NumericalAxis();
StepLineSeries series = new StepLineSeries();
ObservableCollection<ChartDataPoint> Data = new ObservableCollection<ChartDataPoint>
{
new ChartDataPoint("2006",28),
new ChartDataPoint("2007",38),
new ChartDataPoint("2010",38)
};
series.ItemsSource = Data;
chart.Series.Add(series);
Constructors
StepLineSeries()
Declaration
public StepLineSeries()