Class BubbleSeries
Represents a bubble chart. To render bubble chart, create an instance of this class and add it to Series collection property and set the required properties.
Inherited Members
Namespace: Com.Syncfusion.Charts
Assembly: Syncfusion.SfChart.Android.dll
Syntax
public class BubbleSeries : XyDataSeries
Remarks
BubbleSeries requires ItemsSource, XBindingPath,
YBindingPath and Size properties to be set to
render the chart. This series also requires x-axis and y-axis to be explicitly
set either using PrimaryAxis and
SecondaryAxis or XAxis
and YAxis.
Constructors
BubbleSeries()
Initializes a new instance of the BubbleSeries class.
Declaration
public BubbleSeries()
Properties
MaximumRadius
Gets or sets the maximum radius of the bubble.
Declaration
public float MaximumRadius { get; set; }
Property Value
Type |
---|
System.Single |
MinimumRadius
Gets or sets the minimum radius of the bubble.
Declaration
public float MinimumRadius { get; set; }
Property Value
Type |
---|
System.Single |
ShowZeroSizeBubbles
Declaration
public bool ShowZeroSizeBubbles { get; set; }
Property Value
Type |
---|
System.Boolean |
Size
Gets or sets the binding path in items source.
Declaration
public string Size { get; set; }
Property Value
Type |
---|
System.String |
StrokeColor
Gets or sets the color for the series stroke.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
Methods
CreateSegment()
Create the BubbleSegment.
Declaration
protected override ChartSegment CreateSegment()
Returns
Type | Description |
---|---|
ChartSegment | Returns a segment. |
Overrides
CreateSegments()
Creates the segments of BubbleSeries.
Declaration
protected override void CreateSegments()
Overrides
GetGradientEndPoint(ChartSegment)
Declaration
protected override PointF GetGradientEndPoint(ChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
ChartSegment | segment |
Returns
Type |
---|
Android.Graphics.PointF |
Overrides
GetGradientStartPoint(ChartSegment)
Declaration
protected override PointF GetGradientStartPoint(ChartSegment segment)
Parameters
Type | Name | Description |
---|---|---|
ChartSegment | segment |
Returns
Type |
---|
Android.Graphics.PointF |
Overrides
OnBindingPathChanged()
Declaration
protected override void OnBindingPathChanged()