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

Наследование: Windows.UI.Xaml.Controls.Control, ISeriesHost
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
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

Свойство Тип Описание
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

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

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

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

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

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

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

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

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

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

Initializes a new instance of the Chart class.
public Chart ( ) : WinRTXamlToolkit.Controls.DataVisualization.Charting.Primitives
Результат WinRTXamlToolkit.Controls.DataVisualization.Charting.Primitives

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

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

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

Builds the visual tree for the Chart control when a new template is applied.
protected OnApplyTemplate ( ) : void
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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