Skip to content
ChartForgeX
Class

ChartBubbleOptions

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent(Copy = "Clone")

Controls one shared source-size domain and logical radius range for all bubble series in a chart.

Inheritance

  • object
  • ChartBubbleOptions

Remarks

The default preserves square-root interpolation of the radius range. Area encoding instead interpolates reference-circle areas and normalizes marker shapes. Source observations remain finite and positive even when a domain starts at zero. Custom marker coordinates stay in the unit square: SquareRootRadius bounds their largest possible half-extent, while Area retains these reference-circle bounds and normalizes their even-odd fill, so a custom silhouette can extend beyond the reference radius. Stroke width is independent.

Usage

Explore 31 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 18

Constructors

public ChartBubbleOptions() #

Methods

public ChartBubbleOptions AutomaticSizeDomain() #

Infers a common source-size domain from every bubble observation, including hidden and secondary-axis series.

Returns

ChartBubbleOptions The current options.
public ChartBubbleOptions SizeDomain(double minimumValue, double maximumValue) #

Sets finite, non-negative, increasing source-size bounds for all bubble series. Observations outside the domain use its radius endpoints; their raw sizes remain unchanged.

Parameters

minimumValue double required
The inclusive minimum source size.
maximumValue double required
The inclusive maximum source size, greater than the minimum.

Returns

ChartBubbleOptions The current options.

Properties

public ChartBubbleSizeEncoding SizeEncoding { get; set; } #

Gets or sets the source-size encoding. The default preserves the existing square-root radius law.

public ChartSizeDimensionOptions SizeDimension { get; private set; } #

Gets independent name, number display and numeric key options for the shared source-size measurement.

public double MinimumRadius { get; set; } #

Gets or sets the non-negative minimum logical reference-circle radius in pixels. Default: six.

public double? MaximumRadius { get; set; } #

Gets or sets the non-negative maximum logical reference-circle radius in pixels. Null retains the responsive family default, bounded between 14 and 32 pixels and raised to the minimum radius when necessary. The explicit maximum must be at least ChartBubbleOptions.MinimumRadius at preparation.

public double? MinimumValue { get; private set; } #

Gets the explicit minimum source size. Null infers one domain from every bubble series.

public double? MaximumValue { get; private set; } #

Gets the explicit maximum source size. Null infers one domain from every bubble series.

public bool Reversed { get; set; } #

Gets or sets whether larger source sizes map to smaller radii. Default: false.

Extension Methods

public static ChartBubbleOptions MaximumRadius(ChartBubbleOptions chartBubbleOptions, double? value) #

Sets ChartBubbleOptions.MaximumRadius: Gets or sets the non-negative maximum logical reference-circle radius in pixels. Null retains the responsive family default, bounded between 14 and 32 pixels and raised to the minimum radius when necessary. The explicit maximum must be at least ChartBubbleOptions.MinimumRadius at preparation.

Parameters

chartBubbleOptions ChartForgeX.Core.ChartBubbleOptions required
The instance.
value double? required
The value.

Returns

ChartBubbleOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartBubbleOptions { MaximumRadius = value };    chartBubbleOptions.MaximumRadius(value);
public static ChartBubbleOptions MinimumRadius(ChartBubbleOptions chartBubbleOptions, double value) #

Sets ChartBubbleOptions.MinimumRadius: Gets or sets the non-negative minimum logical reference-circle radius in pixels. Default: six.

Parameters

chartBubbleOptions ChartForgeX.Core.ChartBubbleOptions required
The instance.
value double required
The value.

Returns

ChartBubbleOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartBubbleOptions { MinimumRadius = value };    chartBubbleOptions.MinimumRadius(value);
public static ChartBubbleOptions Reversed(ChartBubbleOptions chartBubbleOptions, bool value = true) #

Sets ChartBubbleOptions.Reversed: Gets or sets whether larger source sizes map to smaller radii. Default: false.

Parameters

chartBubbleOptions ChartForgeX.Core.ChartBubbleOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartBubbleOptions The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Core.ChartBubbleOptions { Reversed = value };    chartBubbleOptions.Reversed(value);
public static ChartBubbleOptions SizeDimension(ChartBubbleOptions chartBubbleOptions, Action<ChartSizeDimensionOptions> configure) #

Configures ChartBubbleOptions.SizeDimension in place: Gets independent name, number display and numeric key options for the shared source-size measurement.

Parameters

chartBubbleOptions ChartForgeX.Core.ChartBubbleOptions required
The instance.
configure System.Action<ChartForgeX.Core.ChartSizeDimensionOptions> required
Configures the value.

Returns

ChartBubbleOptions The same instance.
public static ChartBubbleOptions SizeEncoding(ChartBubbleOptions chartBubbleOptions, ChartBubbleSizeEncoding value) #

Sets ChartBubbleOptions.SizeEncoding: Gets or sets the source-size encoding. The default preserves the existing square-root radius law.

Parameters

chartBubbleOptions ChartForgeX.Core.ChartBubbleOptions required
The instance.
value ChartForgeX.Core.ChartBubbleSizeEncoding required
The value.

Returns

ChartBubbleOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Core.ChartBubbleOptions { SizeEncoding = value };    chartBubbleOptions.SizeEncoding(value);