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

Inheritance: DataPointSingleSeriesWithAxes
Show file Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property Type Description
DependentRangeAxisProperty Windows.UI.Xaml.DependencyProperty
IndependentAxisProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
BubbleSeries ( ) : System

Initializes a new instance of the bubble series.

Protected Methods

Method 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

Method 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 method

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

BubbleSeries() public method

Initializes a new instance of the bubble series.
public BubbleSeries ( ) : System
return System

CreateDataPoint() protected method

Creates a new instance of bubble data point.
protected CreateDataPoint ( ) : DataPoint
return DataPoint

DetachEventHandlersFromDataPoint() protected method

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

GetAxes() protected method

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

GetResourceDictionaryEnumeratorFromHost() protected method

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

GetValueMargins() protected method

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

OnAfterUpdateDataPoints() protected method

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

OnBeforeUpdateDataPoints() protected method

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

PrepareDataPoint() protected method

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. ///
return void

UpdateDataPoint() protected method

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

UpdateDataPoints() protected method

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.
return void

Property Details

DependentRangeAxisProperty public static property

Identifies the DependentRangeAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml DependentRangeAxisProperty
return Windows.UI.Xaml.DependencyProperty

IndependentAxisProperty public static property

Identifies the IndependentAxis dependency property.
public static DependencyProperty,Windows.UI.Xaml IndependentAxisProperty
return Windows.UI.Xaml.DependencyProperty