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

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

Public Properties

Property 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

Property 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

Protected Methods

Method 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

Method 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 method

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

AcquireIndependentAxis() protected abstract method

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

ArrangeOverride() protected method

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.
return Windows.Foundation.Size

CreateDataPoint() protected abstract method

Creates a DataPoint for the series.
protected abstract CreateDataPoint ( ) : DataPoint
return DataPoint

DataItemFromDataPoint() protected method

Returns the DataItem corresponding to the specified DataPoint.
protected DataItemFromDataPoint ( DataPoint dataPoint ) : DataItem
dataPoint DataPoint Specified DataPoint.
return DataItem

DefinitionSeries() protected method

Initializes a new instance of the DefinitionSeries class.
protected DefinitionSeries ( ) : System
return System

IDataProviderGetData() protected method

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

IRangeProviderGetRange() protected method

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

IValueMarginProviderGetValueMargins() protected method

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

NotifyAxisValuesChanged() protected method

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

NotifyValueMarginsChanged() protected method

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.
return void

OnApplyTemplate() protected method

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

PrepareDataPoint() protected method

Prepares a DataPoint for use.
protected PrepareDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint DataPoint instance.
return void

SeriesDefinitionsCollectionChanged() protected method

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.
return void

UpdateDataItemPlacement() protected abstract method

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.
return void

Property Details

ActualDependentAxisProperty public_oe static_oe property

Identifies the ActualDependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualDependentAxisProperty
return Windows.UI.Xaml.DependencyProperty

ActualIndependentAxisProperty public_oe static_oe property

Identifies the ActualIndependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml ActualIndependentAxisProperty
return Windows.UI.Xaml.DependencyProperty

DependentAxisProperty public_oe static_oe property

Identifies the DependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml DependentAxisProperty
return Windows.UI.Xaml.DependencyProperty

IndependentAxisProperty public_oe static_oe property

Identifies the IndependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml IndependentAxisProperty
return Windows.UI.Xaml.DependencyProperty

SelectedIndexProperty public_oe static_oe property

Identifies the SelectedIndex dependency property.
public static DependencyProperty,Windows.UI.Xaml SelectedIndexProperty
return Windows.UI.Xaml.DependencyProperty

SelectedItemProperty public_oe static_oe property

Identifies the SelectedItem dependency property.
public static DependencyProperty,Windows.UI.Xaml SelectedItemProperty
return Windows.UI.Xaml.DependencyProperty

SelectionModeProperty public_oe static_oe property

Identifies the SelectionMode dependency property.
public static DependencyProperty,Windows.UI.Xaml SelectionModeProperty
return Windows.UI.Xaml.DependencyProperty