C# Class WinRTXamlToolkit.Controls.DataVisualization.Charting.DataPointSingleSeriesWithAxes

A dynamic series with axes and only one legend item and style for all data points.
Inheritance: DataPointSeriesWithAxes, IRequireGlobalSeriesIndex
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Свойство Type Description
GlobalSeriesIndexProperty Windows.UI.Xaml.DependencyProperty

Protected Properties

Свойство Type Description
ActualDataPointStyleProperty Windows.UI.Xaml.DependencyProperty
ActualLegendItemStyleProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Type Description
CreateLegendItemDataPoint void
DispensedResourcesChanging void
GetResourceDictionaryEnumeratorFromHost IEnumerator
OnGlobalSeriesIndexPropertyChanged void
OnGlobalSeriesIndexPropertyChanged void
SeriesHostResourceDictionariesChanged void

Méthodes publiques

Méthode Description
GlobalSeriesIndexChanged ( int globalIndex ) : void

This method updates the global series index property.

Méthodes protégées

Méthode Description
DataPointSingleSeriesWithAxes ( ) : System

Initializes a new instance of the DataPointSingleSeriesWithAxes class.

OnDataPointStylePropertyChanged ( Style oldValue, Style newValue ) : void

DataPointStyleProperty property changed handler.

OnDataPointsChanged ( IList newDataPoints, IList oldDataPoints ) : void

Called after data points have been loaded from the items source.

OnLegendItemStylePropertyChanged ( Style oldValue, Style newValue ) : void

Called when the value of the LegendItemStyle property changes.

OnPlotAreaChanged ( Panel oldValue, Panel newValue ) : void

Insert grid containing data point used for legend item into the plot area.

OnSeriesHostPropertyChanged ( ISeriesHost oldValue, ISeriesHost newValue ) : void

When the series host property is set retrieves a style to use for all the data points.

OnTitleChanged ( object oldValue, object newValue ) : void

Called when the Title property changes.

PrepareDataPoint ( DataPoint dataPoint, object dataContext ) : void

Sets the style of the data point to the single style used for all data points.

Private Methods

Méthode Description
CreateLegendItemDataPoint ( ) : void

Creates the LegendItem Control if conditions are right.

DispensedResourcesChanging ( ) : void

Processes the change of the DispensedResources property.

GetResourceDictionaryEnumeratorFromHost ( ) : IEnumerator
OnGlobalSeriesIndexPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

GlobalSeriesIndexProperty property changed handler.

OnGlobalSeriesIndexPropertyChanged ( int oldValue, int newValue ) : void
SeriesHostResourceDictionariesChanged ( object sender, EventArgs e ) : void

Handles the SeriesHost's ResourceDictionariesChanged event.

Method Details

DataPointSingleSeriesWithAxes() protected méthode

Initializes a new instance of the DataPointSingleSeriesWithAxes class.
protected DataPointSingleSeriesWithAxes ( ) : System
Résultat System

GlobalSeriesIndexChanged() public méthode

This method updates the global series index property.
public GlobalSeriesIndexChanged ( int globalIndex ) : void
globalIndex int The global index of the series.
Résultat void

OnDataPointStylePropertyChanged() protected méthode

DataPointStyleProperty property changed handler.
protected OnDataPointStylePropertyChanged ( Style oldValue, Style newValue ) : void
oldValue Windows.UI.Xaml.Style Old value.
newValue Windows.UI.Xaml.Style New value.
Résultat void

OnDataPointsChanged() protected méthode

Called after data points have been loaded from the items source.
protected OnDataPointsChanged ( IList newDataPoints, IList oldDataPoints ) : void
newDataPoints IList New active data points.
oldDataPoints IList Old inactive data points.
Résultat void

OnLegendItemStylePropertyChanged() protected méthode

Called when the value of the LegendItemStyle property changes.
protected OnLegendItemStylePropertyChanged ( Style oldValue, Style newValue ) : void
oldValue Windows.UI.Xaml.Style Old value.
newValue Windows.UI.Xaml.Style New value.
Résultat void

OnPlotAreaChanged() protected méthode

Insert grid containing data point used for legend item into the plot area.
protected OnPlotAreaChanged ( Panel oldValue, Panel newValue ) : void
oldValue Windows.UI.Xaml.Controls.Panel The old plot area.
newValue Windows.UI.Xaml.Controls.Panel The new plot area.
Résultat void

OnSeriesHostPropertyChanged() protected méthode

When the series host property is set retrieves a style to use for all the data points.
protected OnSeriesHostPropertyChanged ( ISeriesHost oldValue, ISeriesHost newValue ) : void
oldValue ISeriesHost The old series host value.
newValue ISeriesHost The new series host value.
Résultat void

OnTitleChanged() protected méthode

Called when the Title property changes.
protected OnTitleChanged ( object oldValue, object newValue ) : void
oldValue object Old value of the Title property.
newValue object New value of the Title property.
Résultat void

PrepareDataPoint() protected méthode

Sets the style of the data point to the single style used for all data points.
protected PrepareDataPoint ( DataPoint dataPoint, object dataContext ) : void
dataPoint DataPoint The data point to apply the style to. ///
dataContext object The object associated with the data point. ///
Résultat void

Property Details

ActualDataPointStyleProperty protected_oe static_oe property

Identifies the ActualDataPointStyle dependency property.
protected static DependencyProperty,Windows.UI.Xaml ActualDataPointStyleProperty
Résultat Windows.UI.Xaml.DependencyProperty

ActualLegendItemStyleProperty protected_oe static_oe property

Identifies the ActualLegendItemStyle dependency property.
protected static DependencyProperty,Windows.UI.Xaml ActualLegendItemStyleProperty
Résultat Windows.UI.Xaml.DependencyProperty

GlobalSeriesIndexProperty public_oe static_oe property

Identifies the GlobalSeriesIndex dependency property.
public static DependencyProperty,Windows.UI.Xaml GlobalSeriesIndexProperty
Résultat Windows.UI.Xaml.DependencyProperty