Class BubbleSeries
Represents a control that contains a data series to be rendered in X/Y line format. A third binding determines the size of the data point.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public class BubbleSeries : DataPointSingleSeriesWithAxes, ISeries, IRequireSeriesHost, IDataProvider, IRangeProvider, IAxisListener, IValueMarginProvider, IRequireGlobalSeriesIndex
Constructors
| Improve this Doc View SourceBubbleSeries()
Initializes a new instance of the bubble series.
Declaration
public BubbleSeries()
Fields
| Improve this Doc View SourceDependentRangeAxisProperty
Identifies the DependentRangeAxis dependency property.
Declaration
public static readonly DependencyProperty DependentRangeAxisProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IndependentAxisProperty
Identifies the IndependentAxis dependency property.
Declaration
public static readonly DependencyProperty IndependentAxisProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceActualDependentRangeAxis
Gets the dependent axis as a range axis.
Declaration
public IRangeAxis ActualDependentRangeAxis { get; }
Property Value
Type | Description |
---|---|
IRangeAxis |
ActualIndependentAxis
Gets the independent axis as a range axis.
Declaration
public IAxis ActualIndependentAxis { get; }
Property Value
Type | Description |
---|---|
IAxis |
DependentRangeAxis
Gets or sets the dependent range axis.
Declaration
public IRangeAxis DependentRangeAxis { get; set; }
Property Value
Type | Description |
---|---|
IRangeAxis |
IndependentAxis
Gets or sets independent range axis.
Declaration
public IAxis IndependentAxis { get; set; }
Property Value
Type | Description |
---|---|
IAxis |
SizeValueBinding
Gets or sets the Binding to use for identifying the size of the bubble.
Declaration
public Binding SizeValueBinding { get; set; }
Property Value
Type | Description |
---|---|
Binding |
SizeValuePath
Gets or sets the Binding Path to use for identifying the size of the bubble.
Declaration
public string SizeValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAttachEventHandlersToDataPoint(DataPoint)
Attaches size change and actual size change event handlers to the data point.
Declaration
protected override void AttachEventHandlersToDataPoint(DataPoint dataPoint)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | dataPoint | The data point. |
Overrides
| Improve this Doc View SourceCreateDataPoint()
Creates a new instance of bubble data point.
Declaration
protected override DataPoint CreateDataPoint()
Returns
Type | Description |
---|---|
DataPoint | A new instance of bubble data point. |
Overrides
| Improve this Doc View SourceDetachEventHandlersFromDataPoint(DataPoint)
Detaches size change and actual size change event handlers from the data point.
Declaration
protected override void DetachEventHandlersFromDataPoint(DataPoint dataPoint)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | dataPoint | The data point. |
Overrides
| Improve this Doc View SourceGetAxes(DataPoint)
Acquire a horizontal linear axis and a vertical linear axis.
Declaration
protected override void GetAxes(DataPoint firstDataPoint)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | firstDataPoint | The first data point. |
Overrides
| Improve this Doc View SourceGetResourceDictionaryEnumeratorFromHost()
Returns the custom ResourceDictionary to use for necessary resources.
Declaration
protected override IEnumerator<ResourceDictionary> GetResourceDictionaryEnumeratorFromHost()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ResourceDictionary> | ResourceDictionary to use for necessary resources. |
Overrides
| Improve this Doc View SourceGetValueMargins(IValueMarginConsumer)
The margins required for each value.
Declaration
protected override IEnumerable<ValueMargin> GetValueMargins(IValueMarginConsumer consumer)
Parameters
Type | Name | Description |
---|---|---|
IValueMarginConsumer | consumer | The consumer to return the value margins for. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ValueMargin> | A sequence of margins for each value. |
Overrides
| Improve this Doc View SourceOnAfterUpdateDataPoints()
Updates the value margins after all data points are updated.
Declaration
protected override void OnAfterUpdateDataPoints()
Overrides
| Improve this Doc View SourceOnBeforeUpdateDataPoints()
Calculates the range of ActualSize values of all active BubbleDataPoints.
Declaration
protected override void OnBeforeUpdateDataPoints()
Overrides
| Improve this Doc View SourcePrepareDataPoint(DataPoint, Object)
Prepares a bubble data point by binding the size value binding to the size property.
Declaration
protected override void PrepareDataPoint(DataPoint dataPoint, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | dataPoint | The data point to prepare. |
System.Object | dataContext | The data context of the data point. |
Overrides
| Improve this Doc View SourceUpdateDataPoint(DataPoint)
Updates the data point's visual representation.
Declaration
protected override void UpdateDataPoint(DataPoint dataPoint)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | dataPoint | The data point. |
Overrides
| Improve this Doc View SourceUpdateDataPoints(IEnumerable<DataPoint>)
Ensure that if any data points are updated, all data points are updated.
Declaration
protected override void UpdateDataPoints(IEnumerable<DataPoint> dataPoints)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<DataPoint> | dataPoints | The data points to update. |