In This Article

LineSeriesBase Class

Represents a base class for line and area series for use in a XYChart.

[StyleTypedProperty(Property = "LineStyle", StyleTargetType = typeof(Shape))]
public abstract class LineSeriesBase : XYSeriesBase
Inheritance:
object Visual UIElement FrameworkElement Control SeriesBase XYSeriesBase object
Derived:
AreaSeries LineSeries

Constructors

LineSeriesBase()

Initializes an instance of the class.

protected LineSeriesBase()

Properties

LabelPositioningMode

Gets or sets the LabelPositioningMode used to determine how labels are laid out.

public virtual LabelPositioningMode LabelPositioningMode { get; set; }

Property Value

LabelPositioningMode:

The label positioning mode. The default value is FromAverage.

LineKind

Gets or sets a XYSeriesLineKind, which indicates what kind of line should be rendered by the series. This is a dependency property.

public XYSeriesLineKind LineKind { get; set; }

Property Value

XYSeriesLineKind:

A XYSeriesLineKind, which indicates what kind of line should be rendered by the series. The default value is XYSeriesLineKind.Normal.

LineStyle

Gets or sets a Style, which is applied to the Shape used to render the series. This is a dependency property.

public Style LineStyle { get; set; }

Property Value

Style:

A Style, which is applied to the Shape used to render the series. The default value is null.

MarkerVisibility

Gets or sets a value indicating which markers are rendered along the series. This is a dependency property.

public ChartMarkerVisibility MarkerVisibility { get; set; }

Property Value

ChartMarkerVisibility:

A ChartMarkerVisibility indicating which markers are rendered along the series. The default value is ChartMarkerVisibility.None.

MinimumMargin

Gets the minimum margin around the plotted area required by the series.

protected override Thickness? MinimumMargin { get; }

Property Value

Thickness?:

The minimum margin around the plotted area required by the series.

Fields

LabelPositioningModeProperty

Identifies the LabelPositioningMode dependency property. This field is read-only.

public static readonly DependencyProperty LabelPositioningModeProperty

LineKindProperty

Identifies the LineKind dependency property. This field is read-only.

public static readonly DependencyProperty LineKindProperty

LineStyleProperty

Identifies the LineStyle dependency property. This field is read-only.

public static readonly DependencyProperty LineStyleProperty

MarkerVisibilityProperty

Identifies the MarkerVisibility dependency property. This field is read-only.

public static readonly DependencyProperty MarkerVisibilityProperty

Inherited Members