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

Represents a dynamic series that uses axes to display data points.
Наследование: DataPointSeries, IDataProvider, IRangeProvider, IAxisListener, IValueMarginProvider
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetAxes void
IAxisListener void
IDataProvider IEnumerable
IRangeProvider Range
IValueMarginProvider IEnumerable
UpdateActualDependentAxis void
UpdateActualIndependentAxis void

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

Метод Описание
CreateRangeAxisFromData ( object value ) : IRangeAxis

Creates the correct range axis based on the data.

DataPointSeriesWithAxes ( ) : System

Initializes a new instance of the DataPointSeriesWithAxes class.

GetActualDataPointAxisValue ( DataPoint dataPoint, IAxis axis ) : object

Retrieves the value for a given access from a data point.

GetAxes ( DataPoint firstDataPoint ) : void

Method called to get series to acquire the axes it needs. Acquires no axes by default.

GetAxes ( DataPoint firstDataPoint, bool>.Func independentAxisPredicate, Func independentAxisFactory, bool>.Func dependentAxisPredicate, Func dependentAxisFactory ) : void

Method called to get the axes that the series needs.

GetRange ( IRangeConsumer consumer ) : Range

Returns the actual range of data for a given axis.

GetValueMargins ( IValueMarginConsumer consumer ) : IEnumerable

Returns the value margins for a given axis.

OnDataPointActualDependentValueChanged ( DataPoint dataPoint, IComparable oldValue, IComparable newValue ) : void

Update the axes when the specified data point's ActualDependentValue property changes.

OnDataPointActualIndependentValueChanged ( DataPoint dataPoint, object oldValue, object newValue ) : void

Update axes when the specified data point's actual independent value changes.

OnDataPointDependentValueChanged ( DataPoint dataPoint, IComparable oldValue, IComparable newValue ) : void

Update the axes when the specified data point's DependentValue property changes.

OnDataPointIndependentValueChanged ( DataPoint dataPoint, object oldValue, object newValue ) : void

Update axes when the specified data point's independent value changes.

OnDataPointsChanged ( IList newDataPoints, IList oldDataPoints ) : void

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

OnInternalDependentAxisPropertyChanged ( IAxis oldValue, IAxis newValue ) : void

DependentAxisProperty property changed handler.

OnInternalIndependentAxisPropertyChanged ( IAxis oldValue, IAxis newValue ) : void

IndependentAxisProperty property changed handler.

OnSeriesHostPropertyChanged ( ISeriesHost oldValue, ISeriesHost newValue ) : void

Called when the value of the SeriesHost property changes.

UpdateDataPoints ( IEnumerable dataPoints ) : void

Only updates all data points if series has axes.

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

Метод Описание
GetAxes ( ) : void

Method called to get series to acquire the axes it needs. Acquires no axes by default.

IAxisListener ( IAxis axis ) : void

Updates data points when the axis is invalidated.

IDataProvider ( IDataConsumer dataConsumer ) : IEnumerable

Returns data to a data consumer.

IRangeProvider ( IRangeConsumer rangeConsumer ) : Range

Returns the data range.

IValueMarginProvider ( IValueMarginConsumer axis ) : IEnumerable

Returns the value margins for a given axis.

UpdateActualDependentAxis ( ) : void

Update axes when the specified data point's effective dependent value changes.

UpdateActualIndependentAxis ( ) : void

Update axes when a data point's effective independent value changes.

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

CreateRangeAxisFromData() защищенный статический Метод

Creates the correct range axis based on the data.
protected static CreateRangeAxisFromData ( object value ) : IRangeAxis
value object The value to evaluate to determine which type of /// axis to create.
Результат IRangeAxis

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

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

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

Retrieves the value for a given access from a data point.
protected GetActualDataPointAxisValue ( DataPoint dataPoint, IAxis axis ) : object
dataPoint DataPoint The data point to retrieve the value from.
axis IAxis The axis to retrieve the value for.
Результат object

GetAxes() защищенный абстрактный Метод

Method called to get series to acquire the axes it needs. Acquires no axes by default.
protected abstract GetAxes ( DataPoint firstDataPoint ) : void
firstDataPoint DataPoint The first data point.
Результат void

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

Method called to get the axes that the series needs.
protected GetAxes ( DataPoint firstDataPoint, bool>.Func independentAxisPredicate, Func independentAxisFactory, bool>.Func dependentAxisPredicate, Func dependentAxisFactory ) : void
firstDataPoint DataPoint The first data point.
independentAxisPredicate bool>.Func A predicate that returns /// a value indicating whether an axis is an acceptable candidate for /// the series independent axis.
independentAxisFactory Func A function that creates an /// acceptable independent axis.
dependentAxisPredicate bool>.Func A predicate that returns /// a value indicating whether an axis is an acceptable candidate for /// the series dependent axis.
dependentAxisFactory Func A function that creates an /// acceptable dependent axis.
Результат void

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

Returns the actual range of data for a given axis.
protected GetRange ( IRangeConsumer consumer ) : Range
consumer IRangeConsumer The axis to retrieve the range for.
Результат Range

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

Returns the value margins for a given axis.
protected GetValueMargins ( IValueMarginConsumer consumer ) : IEnumerable
consumer IValueMarginConsumer The axis to retrieve the value margins for. ///
Результат IEnumerable

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

Update the axes when the specified data point's ActualDependentValue property changes.
protected OnDataPointActualDependentValueChanged ( DataPoint dataPoint, IComparable oldValue, IComparable newValue ) : void
dataPoint DataPoint The data point.
oldValue IComparable The old value.
newValue IComparable The new value.
Результат void

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

Update axes when the specified data point's actual independent value changes.
protected OnDataPointActualIndependentValueChanged ( DataPoint dataPoint, object oldValue, object newValue ) : void
dataPoint DataPoint The data point.
oldValue object The old value.
newValue object The new value.
Результат void

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

Update the axes when the specified data point's DependentValue property changes.
protected OnDataPointDependentValueChanged ( DataPoint dataPoint, IComparable oldValue, IComparable newValue ) : void
dataPoint DataPoint The data point.
oldValue IComparable The old value.
newValue IComparable The new value.
Результат void

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

Update axes when the specified data point's independent value changes.
protected OnDataPointIndependentValueChanged ( DataPoint dataPoint, object oldValue, object newValue ) : void
dataPoint DataPoint The data point.
oldValue object The old value.
newValue object The 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

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

DependentAxisProperty property changed handler.
protected OnInternalDependentAxisPropertyChanged ( IAxis oldValue, IAxis newValue ) : void
oldValue IAxis Old value.
newValue IAxis New value.
Результат void

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

IndependentAxisProperty property changed handler.
protected OnInternalIndependentAxisPropertyChanged ( IAxis oldValue, IAxis newValue ) : void
oldValue IAxis Old value.
newValue IAxis New value.
Результат void

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

Called when the value of the SeriesHost property changes.
protected OnSeriesHostPropertyChanged ( ISeriesHost oldValue, ISeriesHost newValue ) : void
oldValue ISeriesHost The value to be replaced.
newValue ISeriesHost The new series host value.
Результат void

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

Only updates all data points if series has axes.
protected UpdateDataPoints ( IEnumerable dataPoints ) : void
dataPoints IEnumerable A sequence of data points to update. ///
Результат void