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

Inheritance: Windows.UI.Xaml.Controls.Control, ISeries, IAxisListener, IRangeProvider, IValueMarginProvider, IDataProvider, ISeriesHost
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Свойство Type Description
ActualDependentAxisProperty Windows.UI.Xaml.DependencyProperty
ActualIndependentAxisProperty Windows.UI.Xaml.DependencyProperty
DependentAxisProperty Windows.UI.Xaml.DependencyProperty
IndependentAxisProperty Windows.UI.Xaml.DependencyProperty
SelectedIndexProperty Windows.UI.Xaml.DependencyProperty
SelectedItemProperty Windows.UI.Xaml.DependencyProperty
SelectionModeProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Свойство Type Description
AddDataItems void
AddedDataItems void
ClearContainerForItem void
DataPointActualDependentValueChanged void
DataPointActualIndependentValueChanged void
DataPointDependentValueChanged void
DataPointIndependentValueChanged void
DataPointStateChanged void
EnsureAxes void
IAxisListener void
IDataProvider IEnumerable
IRangeProvider Range
IResourceDictionaryDispenser IEnumerator
IValueMarginProvider IEnumerable
InternalCreateDataPoint DataPoint
ItemContainerSelectionChanged void
ItemContainerSizeChanged void
OnDependentAxisChanged void
OnDependentAxisChanged void
OnIndependentAxisChanged void
OnIndependentAxisChanged void
OnSelectionModeChanged void
OnSelectionModeChanged void
PrepareContainerForItem void
QueueUpdateDataItemPlacement void
RemovedDataItems void
SelectedItemsCollectionChanged void
SeriesDefinitionItemsSourceChanged void
SeriesDefinitionItemsSourceCollectionChanged void
SeriesDefinitionsCollectionChanged void
SeriesHostResourceDictionariesChanged void
UpdatePaletteProperties void

Méthodes protégées

Méthode Description
AcquireDependentAxis ( ) : IAxis

Acquires a dependent axis suitable for use with the data values of the series.

AcquireIndependentAxis ( ) : IAxis

Acquires an independent axis suitable for use with the data values of the series.

ArrangeOverride ( Size arrangeBounds ) : Size

Called when the control needs to arrange its children.

Used as a good place to dequeue queued work.

CreateDataPoint ( ) : DataPoint

Creates a DataPoint for the series.

DataItemFromDataPoint ( DataPoint dataPoint ) : DataItem

Returns the DataItem corresponding to the specified DataPoint.

DefinitionSeries ( ) : System

Initializes a new instance of the DefinitionSeries class.

IDataProviderGetData ( IDataConsumer dataConsumer ) : IEnumerable

Returns the data for the data points of the series.

IRangeProviderGetRange ( IRangeConsumer rangeConsumer ) : Range

Returns the range for the data points of the series.

IValueMarginProviderGetValueMargins ( IValueMarginConsumer valueMarginConsumer ) : IEnumerable

Returns the value margins for the data points of the series.

NotifyAxisValuesChanged ( IAxis axis ) : void

Notifies the specified axis of changes to values plotting against it.

NotifyValueMarginsChanged ( IAxis axis, IEnumerable valueMargins ) : void

Notifies the specified axis of changes to value margins plotting against it.

OnApplyTemplate ( ) : void

Builds the visual tree for the control when a new template is applied.

PrepareDataPoint ( DataPoint dataPoint ) : void

Prepares a DataPoint for use.

SeriesDefinitionsCollectionChanged ( NotifyCollectionChangedAction action, IList oldItems, int oldStartingIndex, IList newItems, int newStartingIndex ) : void

Handles the CollectionChanged event of the SeriesDefinitions collection.

UpdateDataItemPlacement ( IEnumerable dataItems ) : void

Updates the placement of the DataItems (data points) of the series.

Private Methods

Méthode Description
AddDataItems ( SeriesDefinition definition, IEnumerable items, int startingIndex ) : void

Creates and adds DataItems for the specified SeriesDefinition's items.

AddedDataItems ( ) : void

Updates the axes after DataItems have been added.

ClearContainerForItem ( DependencyObject element, object item ) : void

Undoes the effects of the PrepareContainerForItemOverride method.

DataPointActualDependentValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the ActualDependentValueChanged event of a DataPoint.

DataPointActualIndependentValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the ActualIndependentValueChanged event of a DataPoint.

DataPointDependentValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the DependentValueChanged event of a DataPoint.

DataPointIndependentValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the IndependentValueChanged event of a DataPoint.

DataPointStateChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Handles the StateChanged event of a DataPoint.

EnsureAxes ( bool updateDependentAxis, bool updateIndependentAxis, bool unconditionallyNotifyAxes ) : void

Ensures that suitable axes are present and registered.

IAxisListener ( IAxis axis ) : void

Handles notification of the invalidation of an axis.

IDataProvider ( IDataConsumer dataConsumer ) : IEnumerable

Returns the data for the data points of the series.

IRangeProvider ( IRangeConsumer rangeConsumer ) : Range

Returns the range for the data points of the series.

IResourceDictionaryDispenser ( bool>.Func predicate ) : IEnumerator

Gets a IResourceDictionaryDispenser for the series as a series host.

IValueMarginProvider ( IValueMarginConsumer valueMarginConsumer ) : IEnumerable

Returns the value margins for the data points of the series.

InternalCreateDataPoint ( ) : DataPoint

Provides an internally-accessible wrapper for calling CreateDataPoint.

ItemContainerSelectionChanged ( object sender, SelectionChangedEventArgs e ) : void

Handles the SelectionChanged event of the ItemContainer class.

ItemContainerSizeChanged ( object sender, SizeChangedEventArgs e ) : void

Handles the SizeChanged event of the ItemContainer.

OnDependentAxisChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the DependentAxis dependency property.

OnDependentAxisChanged ( IAxis oldValue, IAxis newValue ) : void
OnIndependentAxisChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IndependentAxis dependency property.

OnIndependentAxisChanged ( IAxis oldValue, IAxis newValue ) : void
OnSelectionModeChanged ( DependencyObject o, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the SelectionMode dependency property.

OnSelectionModeChanged ( SeriesSelectionMode oldValue, SeriesSelectionMode newValue ) : void
PrepareContainerForItem ( DependencyObject element, object item ) : void

Prepares the specified element to display the specified item.

QueueUpdateDataItemPlacement ( bool dependentAxisValuesChanged, bool independentAxisValuesChanged, IEnumerable dataItems ) : void

Queues an update of DataItem placement for the next update opportunity.

RemovedDataItems ( ) : void

Notifies the axes after DataItems have been removed.

SelectedItemsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles the CollectionChanged event of the SelectedItems collection.

SeriesDefinitionItemsSourceChanged ( SeriesDefinition definition, IEnumerable oldValue, IEnumerable newValue ) : void

Handles changes to the ItemsSource of a SeriesDefinition.

SeriesDefinitionItemsSourceCollectionChanged ( SeriesDefinition definition, NotifyCollectionChangedAction action, IList oldItems, int oldStartingIndex, IList newItems, int newStartingIndex ) : void
SeriesDefinitionsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles the CollectionChanged event of the SeriesDefinitions collection.

SeriesHostResourceDictionariesChanged ( object sender, EventArgs e ) : void

Handles the ResourceDictionariesChanged event of the SeriesHost owner.

UpdatePaletteProperties ( SeriesDefinition definition ) : void

Updates the palette properties of the specified SeriesDefinition.

Method Details

AcquireDependentAxis() protected abstract méthode

Acquires a dependent axis suitable for use with the data values of the series.
protected abstract AcquireDependentAxis ( ) : IAxis
Résultat IAxis

AcquireIndependentAxis() protected abstract méthode

Acquires an independent axis suitable for use with the data values of the series.
protected abstract AcquireIndependentAxis ( ) : IAxis
Résultat IAxis

ArrangeOverride() protected méthode

Called when the control needs to arrange its children.
Used as a good place to dequeue queued work.
protected ArrangeOverride ( Size arrangeBounds ) : Size
arrangeBounds Windows.Foundation.Size Bounds to arrange within.
Résultat Windows.Foundation.Size

CreateDataPoint() protected abstract méthode

Creates a DataPoint for the series.
protected abstract CreateDataPoint ( ) : DataPoint
Résultat DataPoint

DataItemFromDataPoint() protected méthode

Returns the DataItem corresponding to the specified DataPoint.
protected DataItemFromDataPoint ( DataPoint dataPoint ) : DataItem
dataPoint DataPoint Specified DataPoint.
Résultat DataItem

DefinitionSeries() protected méthode

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

IDataProviderGetData() protected méthode

Returns the data for the data points of the series.
protected IDataProviderGetData ( IDataConsumer dataConsumer ) : IEnumerable
dataConsumer IDataConsumer Consumer of the data.
Résultat IEnumerable

IRangeProviderGetRange() protected méthode

Returns the range for the data points of the series.
protected IRangeProviderGetRange ( IRangeConsumer rangeConsumer ) : Range
rangeConsumer IRangeConsumer Consumer of the range.
Résultat Range

IValueMarginProviderGetValueMargins() protected méthode

Returns the value margins for the data points of the series.
protected IValueMarginProviderGetValueMargins ( IValueMarginConsumer valueMarginConsumer ) : IEnumerable
valueMarginConsumer IValueMarginConsumer Consumer of the value margins.
Résultat IEnumerable

NotifyAxisValuesChanged() protected méthode

Notifies the specified axis of changes to values plotting against it.
protected NotifyAxisValuesChanged ( IAxis axis ) : void
axis IAxis Specified axis.
Résultat void

NotifyValueMarginsChanged() protected méthode

Notifies the specified axis of changes to value margins plotting against it.
protected NotifyValueMarginsChanged ( IAxis axis, IEnumerable valueMargins ) : void
axis IAxis Specified axis.
valueMargins IEnumerable Sequence of value margins that have changed.
Résultat void

OnApplyTemplate() protected méthode

Builds the visual tree for the control when a new template is applied.
protected OnApplyTemplate ( ) : void
Résultat void

PrepareDataPoint() protected méthode

Prepares a DataPoint for use.
protected PrepareDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint DataPoint instance.
Résultat void

SeriesDefinitionsCollectionChanged() protected méthode

Handles the CollectionChanged event of the SeriesDefinitions collection.
protected SeriesDefinitionsCollectionChanged ( NotifyCollectionChangedAction action, IList oldItems, int oldStartingIndex, IList newItems, int newStartingIndex ) : void
action NotifyCollectionChangedAction Type of change.
oldItems IList Sequence of old items.
oldStartingIndex int Starting index of old items.
newItems IList Sequence of new items.
newStartingIndex int Starting index of new items.
Résultat void

UpdateDataItemPlacement() protected abstract méthode

Updates the placement of the DataItems (data points) of the series.
protected abstract UpdateDataItemPlacement ( IEnumerable dataItems ) : void
dataItems IEnumerable DataItems in need of an update.
Résultat void

Property Details

ActualDependentAxisProperty public_oe static_oe property

Identifies the ActualDependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualDependentAxisProperty
Résultat Windows.UI.Xaml.DependencyProperty

ActualIndependentAxisProperty public_oe static_oe property

Identifies the ActualIndependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualIndependentAxisProperty
Résultat Windows.UI.Xaml.DependencyProperty

DependentAxisProperty public_oe static_oe property

Identifies the DependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml DependentAxisProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndependentAxisProperty public_oe static_oe property

Identifies the IndependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml IndependentAxisProperty
Résultat Windows.UI.Xaml.DependencyProperty

SelectedIndexProperty public_oe static_oe property

Identifies the SelectedIndex dependency property.
public static DependencyProperty,Windows.UI.Xaml SelectedIndexProperty
Résultat Windows.UI.Xaml.DependencyProperty

SelectedItemProperty public_oe static_oe property

Identifies the SelectedItem dependency property.
public static DependencyProperty,Windows.UI.Xaml SelectedItemProperty
Résultat Windows.UI.Xaml.DependencyProperty

SelectionModeProperty public_oe static_oe property

Identifies the SelectionMode dependency property.
public static DependencyProperty,Windows.UI.Xaml SelectionModeProperty
Résultat Windows.UI.Xaml.DependencyProperty