C# Class ArcGISPortalViewer.Popup.Primitives.Charting.BaseChart

Inheritance: Windows.UI.Xaml.Controls.Control
Afficher le fichier Open project: Esri/arcgis-portalviewer-dotnet

Méthodes publiques

Свойство Type Description
FieldsProperty Windows.UI.Xaml.DependencyProperty
ItemsSourceProperty Windows.UI.Xaml.DependencyProperty
KeyToLabelDictionaryProperty Windows.UI.Xaml.DependencyProperty

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

FormattedValue() protected méthode

Returns a double value formatted to be displayed in axis or tooltip.
protected FormattedValue ( double value ) : string
value double
Résultat string

GenerateChart() protected abstract méthode

Generates the chart from the ItemsSource
protected abstract GenerateChart ( ) : void
Résultat void

GetColorByIndex() protected méthode

Returns a color by index
protected GetColorByIndex ( int index ) : Brush
index int
Résultat Windows.UI.Xaml.Media.Brush

InvalidateChart() protected méthode

Invalidates the chart
protected InvalidateChart ( ) : void
Résultat void

MeasureOverride() protected méthode

Overrides MeasureOverride
protected MeasureOverride ( Size availableSize ) : Size
availableSize Windows.Foundation.Size
Résultat Windows.Foundation.Size

OnApplyTemplate() protected méthode

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
Résultat void

SetTooltip() protected méthode

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
Résultat void

Property Details

FieldsProperty public_oe static_oe property

Identifies the Fields dependency property.
public static DependencyProperty,Windows.UI.Xaml FieldsProperty
Résultat Windows.UI.Xaml.DependencyProperty

ItemsSourceProperty public_oe static_oe property

Identifies the ItemsSource dependency property.
public static DependencyProperty,Windows.UI.Xaml ItemsSourceProperty
Résultat Windows.UI.Xaml.DependencyProperty

KeyToLabelDictionaryProperty public_oe static_oe property

Identifies the KeyToLabelDictionary dependency property.
public static DependencyProperty,Windows.UI.Xaml KeyToLabelDictionaryProperty
Résultat Windows.UI.Xaml.DependencyProperty