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

Inheritance: Windows.UI.Xaml.Controls.Control, ISeriesHost
Mostrar archivo Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property Type Description
ChartAreaStyleProperty Windows.UI.Xaml.DependencyProperty
LegendStyleProperty Windows.UI.Xaml.DependencyProperty
LegendTitleProperty Windows.UI.Xaml.DependencyProperty
PaletteProperty Windows.UI.Xaml.DependencyProperty
PlotAreaStyleProperty Windows.UI.Xaml.DependencyProperty
TitleProperty Windows.UI.Xaml.DependencyProperty
TitleStyleProperty Windows.UI.Xaml.DependencyProperty

Private Properties

Property Type Description
ActualAxesCollectionChanged void
AddAxisToChartArea void
AddSeriesToPlotArea void
AxisLocationChanged void
AxisOrientationChanged void
ChildSeriesCollectionChanged void
GetAutoAxisLocation AxisLocation
OnGlobalSeriesIndexesInvalidated void
OnPalettePropertyChanged void
OnPalettePropertyChanged void
OnResourceDictionariesChanged void
RemoveAxisFromChartArea void
RemoveSeriesFromPlotArea void
SeriesCollectionChanged void
SetEdge void
UpdateGlobalIndexes void

Public Methods

Method Description
Chart ( ) : WinRTXamlToolkit.Controls.DataVisualization.Charting.Primitives

Initializes a new instance of the Chart class.

GetResourceDictionariesWhere ( bool>.Func predicate ) : IEnumerator

Returns a rotating enumerator of ResourceDictionary objects that coordinates with the dispenser object to ensure that no two enumerators are on the same item. If the dispenser is reset or its collection is changed then the enumerators are also reset.

Protected Methods

Method Description
OnApplyTemplate ( ) : void

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

Private Methods

Method Description
ActualAxesCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Ensures that ISeriesHost is in a consistent state when axes collection is changed.

AddAxisToChartArea ( Axis axis ) : void

Adds an axis to the ISeriesHost area.

AddSeriesToPlotArea ( ISeries series ) : void

Adds a series to the plot area and injects chart services.

AxisLocationChanged ( object sender, RoutedPropertyChangedEventArgs args ) : void

Rebuild the chart area if an axis location is changed.

AxisOrientationChanged ( object sender, RoutedPropertyChangedEventArgs args ) : void

Rebuilds the chart area if an axis orientation is changed.

ChildSeriesCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles changes to the collections of child ISeries implementing ISeriesHost.

GetAutoAxisLocation ( Axis axis ) : AxisLocation

Determines the location of an axis based on the existing axes in the chart.

OnGlobalSeriesIndexesInvalidated ( object sender, RoutedEventArgs args ) : void

Updates the global indexes of all descendents that require a global index.

OnPalettePropertyChanged ( Collection newValue ) : void

Called when the value of the Palette property is changed.

OnPalettePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Called when the value of the Palette property is changed.

OnResourceDictionariesChanged ( EventArgs e ) : void

Invokes the ResourceDictionariesChanged event.

RemoveAxisFromChartArea ( Axis axis ) : void

Removes an axis from the Chart area.

RemoveSeriesFromPlotArea ( ISeries series ) : void

Removes a series from the plot area.

SeriesCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Called when the ObservableCollection.CollectionChanged property changes.

SetEdge ( Axis axis ) : void

Sets the Edge property of an axis based on its location and orientation.

UpdateGlobalIndexes ( ) : void

Updates the global index property of all Series that track their global index.

Method Details

Chart() public method

Initializes a new instance of the Chart class.
public Chart ( ) : WinRTXamlToolkit.Controls.DataVisualization.Charting.Primitives
return WinRTXamlToolkit.Controls.DataVisualization.Charting.Primitives

GetResourceDictionariesWhere() public method

Returns a rotating enumerator of ResourceDictionary objects that coordinates with the dispenser object to ensure that no two enumerators are on the same item. If the dispenser is reset or its collection is changed then the enumerators are also reset.
public GetResourceDictionariesWhere ( bool>.Func predicate ) : IEnumerator
predicate bool>.Func A predicate that returns a value indicating /// whether to return an item.
return IEnumerator

OnApplyTemplate() protected method

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

Property Details

ChartAreaStyleProperty public_oe static_oe property

Identifies the ChartAreaStyle dependency property.
public static DependencyProperty,Windows.UI.Xaml ChartAreaStyleProperty
return Windows.UI.Xaml.DependencyProperty

LegendStyleProperty public_oe static_oe property

Identifies the LegendStyle dependency property.
public static DependencyProperty,Windows.UI.Xaml LegendStyleProperty
return Windows.UI.Xaml.DependencyProperty

LegendTitleProperty public_oe static_oe property

Identifies the LegendTitle dependency property.
public static DependencyProperty,Windows.UI.Xaml LegendTitleProperty
return Windows.UI.Xaml.DependencyProperty

PaletteProperty public_oe static_oe property

Identifies the Palette dependency property.
public static DependencyProperty,Windows.UI.Xaml PaletteProperty
return Windows.UI.Xaml.DependencyProperty

PlotAreaStyleProperty public_oe static_oe property

Identifies the PlotAreaStyle dependency property.
public static DependencyProperty,Windows.UI.Xaml PlotAreaStyleProperty
return Windows.UI.Xaml.DependencyProperty

TitleProperty public_oe static_oe property

Identifies the Title dependency property.
public static DependencyProperty,Windows.UI.Xaml TitleProperty
return Windows.UI.Xaml.DependencyProperty

TitleStyleProperty public_oe static_oe property

Identifies the TitleStyle dependency property.
public static DependencyProperty,Windows.UI.Xaml TitleStyleProperty
return Windows.UI.Xaml.DependencyProperty