C# Класс ArcGISPortalViewer.Popup.Primitives.Charting.BaseChart

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

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

Свойство Тип Описание
FieldsProperty Windows.UI.Xaml.DependencyProperty
ItemsSourceProperty Windows.UI.Xaml.DependencyProperty
KeyToLabelDictionaryProperty Windows.UI.Xaml.DependencyProperty

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

Метод Описание
FormattedValue ( double value ) : string

Returns a double value formatted to be displayed in axis or tooltip.

GenerateChart ( ) : void

Generates the chart from the ItemsSource

GetColorByIndex ( int index ) : Brush

Returns a color by index

InvalidateChart ( ) : void

Invalidates the chart

MeasureOverride ( Size availableSize ) : Size

Overrides MeasureOverride

OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application.

SetTooltip ( DependencyObject element, string key, string value ) : void

Set the tooltip of a data point

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

Метод Описание
BaseChart ( ) : System

Initializes a new instance of the BaseChart class.

OnFieldsPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnItemsSourceChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnKeyToLabelDictionaryPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
SetItemsSource ( ) : void

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

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

Returns a double value formatted to be displayed in axis or tooltip.
protected FormattedValue ( double value ) : string
value double
Результат string

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

Generates the chart from the ItemsSource
protected abstract GenerateChart ( ) : void
Результат void

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

Returns a color by index
protected GetColorByIndex ( int index ) : Brush
index int
Результат Windows.UI.Xaml.Media.Brush

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

Invalidates the chart
protected InvalidateChart ( ) : void
Результат void

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

Overrides MeasureOverride
protected MeasureOverride ( Size availableSize ) : Size
availableSize Windows.Foundation.Size
Результат Windows.Foundation.Size

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

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application.
protected OnApplyTemplate ( ) : void
Результат void

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

Set the tooltip of a data point
protected SetTooltip ( DependencyObject element, string key, string value ) : void
element Windows.UI.Xaml.DependencyObject
key string
value string
Результат void

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

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

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

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

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

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

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