Charting for WPF Programmer's Guide

Chart Members

Constructors Fields Properties Methods Events
 


Base class for all charts.

The following tables list the members exposed by the Chart type.

 Public Constructors

  Name Description

Chart

Creates a new Chart object.

 Public Fields

  Name Description

CornerRadiusProperty

Identifies the CornerRadius dependency property.

DataSourceProperty

Identifies the DataSource dependency property.

LabelFontFamilyProperty

Identifies the LabelFontFamily dependency property.

LabelFontSizeProperty

Identifies the LabelFontSize dependency property.

LabelFontStyleProperty

Identifies the LabelFontStyle dependency property.

LabelFontWeightProperty

Identifies the LabelFontWeight dependency property.

LegendsProperty

Identifies the Legends dependency property.

PlotAreaMarginProperty

Identifies the PlotAreaMargin dependency property.

TitleFontFamilyProperty

Identifies the TitleFontFamily dependency property.

TitleFontSizeProperty

Identifies the TitleFontSize dependency property.

TitleFontStyleProperty

Identifies the TitleFontStyle dependency property.

TitleFontWeightProperty

Identifies the TitleFontWeight dependency property.

TitleMarginProperty

Identifies the TitleMargin dependency property.

TitleProperty

Identifies the Title dependency property.

 Public Properties

  Name Description

CornerRadius

Gets or sets the corner radius of the chart control's bounding rectangle.

DataSource

Gets or sets the data source. This is a dependency property.

LabelFontFamily

Gets or sets the font family for the chart labels.

LabelFontSize

Gets or sets the font size for the chart labels.

LabelFontStyle

Gets or sets the font style for the chart labels.

LabelFontWeight

Gets or sets the font weight for the chart labels.

Legends

Gets or sets a list with the chart legends.

PlotAreaMargin

Gets or sets the margin around the plot area.

Series

Gets the list with the series in the chart.

Title

Gets or sets the title of the chart.

TitleFontFamily

Gets or sets the font family for the title.

TitleFontSize

Gets or sets the font size for the title.

TitleFontStyle

Gets or sets the font style for the title.

TitleFontWeight

Gets or sets the font weight for the title.

TitleMargin

Gets or sets the margin around the title.

 Protected Properties

  Name Description

VisualChildrenCount

Gets the number of visual child elements within this element.

 Public Methods

  Name Description

OnAppearanceChanged

Raises the AppearanceChanged event.

OnDataChanged

Fired when data on the chart has changed.

UpdateChart

Recalculates and redraws the chart.

 Protected Methods

  Name Description

GetVisualChild

Returns the specified Visual in the parent VisualCollection.

 Public Events

  Name Description

AppearanceChanged

Occurs when the value of a property that influences the appearance of the chart changes.

DataChanged

Occurs when the data for the chart has changed.

 See Also