C# Класс WinRTXamlToolkit.Controls.DataVisualization.Charting.DataPointSingleSeriesWithAxes

A dynamic series with axes and only one legend item and style for all data points.
Наследование: DataPointSeriesWithAxes, IRequireGlobalSeriesIndex
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
GlobalSeriesIndexProperty Windows.UI.Xaml.DependencyProperty

Защищенные свойства (Protected)

Свойство Тип Описание
ActualDataPointStyleProperty Windows.UI.Xaml.DependencyProperty
ActualLegendItemStyleProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Тип Описание
CreateLegendItemDataPoint void
DispensedResourcesChanging void
GetResourceDictionaryEnumeratorFromHost IEnumerator
OnGlobalSeriesIndexPropertyChanged void
OnGlobalSeriesIndexPropertyChanged void
SeriesHostResourceDictionariesChanged void

Открытые методы

Метод Описание
GlobalSeriesIndexChanged ( int globalIndex ) : void

This method updates the global series index property.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

DataPointSingleSeriesWithAxes() защищенный Метод

Initializes a new instance of the DataPointSingleSeriesWithAxes class.
protected DataPointSingleSeriesWithAxes ( ) : System
Результат System

GlobalSeriesIndexChanged() публичный Метод

This method updates the global series index property.
public GlobalSeriesIndexChanged ( int globalIndex ) : void
globalIndex int The global index of the series.
Результат void

OnDataPointStylePropertyChanged() защищенный Метод

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.
Результат void

OnDataPointsChanged() защищенный Метод

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.
Результат void

OnLegendItemStylePropertyChanged() защищенный Метод

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.
Результат void

OnPlotAreaChanged() защищенный Метод

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.
Результат void

OnSeriesHostPropertyChanged() защищенный Метод

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.
Результат void

OnTitleChanged() защищенный Метод

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.
Результат void

PrepareDataPoint() защищенный Метод

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. ///
Результат void

Описание свойств

ActualDataPointStyleProperty защищенное статическое свойство

Identifies the ActualDataPointStyle dependency property.
protected static DependencyProperty,Windows.UI.Xaml ActualDataPointStyleProperty
Результат Windows.UI.Xaml.DependencyProperty

ActualLegendItemStyleProperty защищенное статическое свойство

Identifies the ActualLegendItemStyle dependency property.
protected static DependencyProperty,Windows.UI.Xaml ActualLegendItemStyleProperty
Результат Windows.UI.Xaml.DependencyProperty

GlobalSeriesIndexProperty публичное статическое свойство

Identifies the GlobalSeriesIndex dependency property.
public static DependencyProperty,Windows.UI.Xaml GlobalSeriesIndexProperty
Результат Windows.UI.Xaml.DependencyProperty