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

Inheritance: DataPointSingleSeriesWithAxes
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Méthodes publiques

Свойство Type Description
DependentRangeAxisProperty Windows.UI.Xaml.DependencyProperty
IndependentAxisProperty Windows.UI.Xaml.DependencyProperty

Méthodes publiques

Méthode Description
BubbleSeries ( ) : System

Initializes a new instance of the bubble series.

Méthodes protégées

Méthode Description
AttachEventHandlersToDataPoint ( DataPoint dataPoint ) : void

Attaches size change and actual size change event handlers to the data point.

CreateDataPoint ( ) : DataPoint

Creates a new instance of bubble data point.

DetachEventHandlersFromDataPoint ( DataPoint dataPoint ) : void

Detaches size change and actual size change event handlers from the data point.

GetAxes ( DataPoint firstDataPoint ) : void

Acquire a horizontal linear axis and a vertical linear axis.

GetResourceDictionaryEnumeratorFromHost ( ) : IEnumerator

Returns the custom ResourceDictionary to use for necessary resources.

GetValueMargins ( IValueMarginConsumer consumer ) : IEnumerable

The margins required for each value.

OnAfterUpdateDataPoints ( ) : void

Updates the value margins after all data points are updated.

OnBeforeUpdateDataPoints ( ) : void

Calculates the range of ActualSize values of all active BubbleDataPoints.

PrepareDataPoint ( DataPoint dataPoint, object dataContext ) : void

Prepares a bubble data point by binding the size value binding to the size property.

UpdateDataPoint ( DataPoint dataPoint ) : void

Updates the data point's visual representation.

UpdateDataPoints ( IEnumerable dataPoints ) : void

Ensure that if any data points are updated, all data points are updated.

Private Methods

Méthode Description
BubbleDataPointActualSizePropertyChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Updates all data points when the actual size property of a data point changes.

BubbleDataPointSizePropertyChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void

Animates the value of the ActualSize property to the size property when it changes.

OnDependentRangeAxisPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

DependentRangeAxisProperty property changed handler.

OnDependentRangeAxisPropertyChanged ( IRangeAxis newValue ) : void

DependentRangeAxisProperty property changed handler.

OnIndependentAxisPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

IndependentAxisProperty property changed handler.

OnIndependentAxisPropertyChanged ( IAxis newValue ) : void

IndependentAxisProperty property changed handler.

Method Details

AttachEventHandlersToDataPoint() protected méthode

Attaches size change and actual size change event handlers to the data point.
protected AttachEventHandlersToDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint The data point.
Résultat void

BubbleSeries() public méthode

Initializes a new instance of the bubble series.
public BubbleSeries ( ) : System
Résultat System

CreateDataPoint() protected méthode

Creates a new instance of bubble data point.
protected CreateDataPoint ( ) : DataPoint
Résultat DataPoint

DetachEventHandlersFromDataPoint() protected méthode

Detaches size change and actual size change event handlers from the data point.
protected DetachEventHandlersFromDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint The data point.
Résultat void

GetAxes() protected méthode

Acquire a horizontal linear axis and a vertical linear axis.
protected GetAxes ( DataPoint firstDataPoint ) : void
firstDataPoint DataPoint The first data point.
Résultat void

GetResourceDictionaryEnumeratorFromHost() protected méthode

Returns the custom ResourceDictionary to use for necessary resources.
protected GetResourceDictionaryEnumeratorFromHost ( ) : IEnumerator
Résultat IEnumerator

GetValueMargins() protected méthode

The margins required for each value.
protected GetValueMargins ( IValueMarginConsumer consumer ) : IEnumerable
consumer IValueMarginConsumer The consumer to return the value margins for.
Résultat IEnumerable

OnAfterUpdateDataPoints() protected méthode

Updates the value margins after all data points are updated.
protected OnAfterUpdateDataPoints ( ) : void
Résultat void

OnBeforeUpdateDataPoints() protected méthode

Calculates the range of ActualSize values of all active BubbleDataPoints.
protected OnBeforeUpdateDataPoints ( ) : void
Résultat void

PrepareDataPoint() protected méthode

Prepares a bubble data point by binding the size value binding to the size property.
protected PrepareDataPoint ( DataPoint dataPoint, object dataContext ) : void
dataPoint DataPoint The data point to prepare.
dataContext object The data context of the data point. ///
Résultat void

UpdateDataPoint() protected méthode

Updates the data point's visual representation.
protected UpdateDataPoint ( DataPoint dataPoint ) : void
dataPoint DataPoint The data point.
Résultat void

UpdateDataPoints() protected méthode

Ensure that if any data points are updated, all data points are updated.
protected UpdateDataPoints ( IEnumerable dataPoints ) : void
dataPoints IEnumerable The data points to update.
Résultat void

Property Details

DependentRangeAxisProperty public_oe static_oe property

Identifies the DependentRangeAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml DependentRangeAxisProperty
Résultat Windows.UI.Xaml.DependencyProperty

IndependentAxisProperty public_oe static_oe property

Identifies the IndependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml IndependentAxisProperty
Résultat Windows.UI.Xaml.DependencyProperty