Skip to content
ChartForgeX
Class

ChartSunburstOptions

ChartForgeX.Core

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

Controls Sunburst geometry, parent sizes, captions and its independent numeric color scale.

Inheritance

  • object
  • ChartSunburstOptions

Usage

Explore 49 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 28

Constructors

public ChartSunburstOptions() #

Properties

public bool CurvedLabels { get; set; } #

Gets or sets whether complete primary captions may follow a measured circular lane. Default: false.

public double? MinimumLabelFontSize { get; set; } #

Gets or sets the optional finite positive primary caption font-size floor in logical pixels. Default: null, retaining fixed-size captions.

public double SectorGap { get; set; } #

Gets or sets the finite nonnegative minimum gap between painted Sunburst sector fills in logical pixels. Default: zero.

public Func<ChartSunburstLabelContext, string?>? SecondaryLabelFormatter { get; set; } #
Fluent("SecondaryLabelBy")

Gets or sets the optional secondary caption formatter. Default: null.

public TextStyleOverride SecondaryLabelStyle { get; private set; } #

Gets the secondary caption overrides. Inherits the node's data-label typography at 80% of its font size with a ten-pixel minimum no larger than the primary caption, then applies these overrides.

public double SecondaryLabelSpacing { get; set; } #

Gets or sets the finite, nonnegative spacing in logical pixels between primary and secondary captions. Default: two.

public double CornerRadius { get; set; } #

Gets or sets the maximum inward corner radius in pixels for each Sunburst sector. Default: zero.

public ChartHierarchyValuePolicy ParentValuePolicy { get; set; } #

Gets or sets the group-size interpretation. Default: descendant leaf aggregation.

public ChartColorScale? ColorScale { get; set; } #

Gets or sets the numeric color scale. When omitted, supplied color observations use the theme's sequential ramp.

public ChartColorDimensionOptions ColorDimension { get; private set; } #

Gets the independent color measurement's name and number display policy.

Extension Methods

public static ChartSunburstOptions ColorDimension(ChartSunburstOptions chartSunburstOptions, Action<ChartColorDimensionOptions> configure) #

Configures ChartSunburstOptions.ColorDimension in place: Gets the independent color measurement's name and number display policy.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
configure System.Action<ChartForgeX.Core.ChartColorDimensionOptions> required
Configures the value.

Returns

ChartSunburstOptions The same instance.
public static ChartSunburstOptions ColorScale(ChartSunburstOptions chartSunburstOptions, ChartColorScale? value) #

Sets ChartSunburstOptions.ColorScale: Gets or sets the numeric color scale. When omitted, supplied color observations use the theme's sequential ramp.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
value ChartForgeX.Core.ChartColorScale? required
The value.

Returns

ChartSunburstOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Core.ChartSunburstOptions { ColorScale = value };    chartSunburstOptions.ColorScale(value);
public static ChartSunburstOptions CornerRadius(ChartSunburstOptions chartSunburstOptions, double value) #

Sets ChartSunburstOptions.CornerRadius: Gets or sets the maximum inward corner radius in pixels for each Sunburst sector. Default: zero.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
value double required
The value.

Returns

ChartSunburstOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartSunburstOptions { CornerRadius = value };    chartSunburstOptions.CornerRadius(value);
public static ChartSunburstOptions CurvedLabels(ChartSunburstOptions chartSunburstOptions, bool value = true) #

Sets ChartSunburstOptions.CurvedLabels: Gets or sets whether complete primary captions may follow a measured circular lane. Default: false.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartSunburstOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartSunburstOptions { CurvedLabels = value };    chartSunburstOptions.CurvedLabels(value);
public static ChartSunburstOptions MinimumLabelFontSize(ChartSunburstOptions chartSunburstOptions, double? value) #

Sets ChartSunburstOptions.MinimumLabelFontSize: Gets or sets the optional finite positive primary caption font-size floor in logical pixels. Default: null, retaining fixed-size captions.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
value double? required
The value.

Returns

ChartSunburstOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::ChartForgeX.Core.ChartSunburstOptions { MinimumLabelFontSize = value };    chartSunburstOptions.MinimumLabelFontSize(value);
public static ChartSunburstOptions ParentValuePolicy(ChartSunburstOptions chartSunburstOptions, ChartHierarchyValuePolicy value) #

Sets ChartSunburstOptions.ParentValuePolicy: Gets or sets the group-size interpretation. Default: descendant leaf aggregation.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
value ChartForgeX.Core.ChartHierarchyValuePolicy required
The value.

Returns

ChartSunburstOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartSunburstOptions { ParentValuePolicy = value };    chartSunburstOptions.ParentValuePolicy(value);
public static ChartSunburstOptions SecondaryLabelBy(ChartSunburstOptions chartSunburstOptions, Func<ChartSunburstLabelContext, string?>? value) #

Sets ChartSunburstOptions.SecondaryLabelFormatter: Gets or sets the optional secondary caption formatter. Default: null.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
value System.Func<ChartForgeX.Core.ChartSunburstLabelContext, string?>? required
The callback.

Returns

ChartSunburstOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::ChartForgeX.Core.ChartSunburstOptions { SecondaryLabelFormatter = value };    chartSunburstOptions.SecondaryLabelBy(value);
public static ChartSunburstOptions SecondaryLabelSpacing(ChartSunburstOptions chartSunburstOptions, double value) #

Sets ChartSunburstOptions.SecondaryLabelSpacing: Gets or sets the finite, nonnegative spacing in logical pixels between primary and secondary captions. Default: two.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
value double required
The value.

Returns

ChartSunburstOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Core.ChartSunburstOptions { SecondaryLabelSpacing = value };    chartSunburstOptions.SecondaryLabelSpacing(value);
public static ChartSunburstOptions SecondaryLabelStyle(ChartSunburstOptions chartSunburstOptions, Action<TextStyleOverride> configure) #

Configures ChartSunburstOptions.SecondaryLabelStyle in place: Gets the secondary caption overrides. Inherits the node's data-label typography at 80% of its font size with a ten-pixel minimum no larger than the primary caption, then applies these overrides.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
configure System.Action<ChartForgeX.Typography.TextStyleOverride> required
Configures the value.

Returns

ChartSunburstOptions The same instance.
public static ChartSunburstOptions SectorGap(ChartSunburstOptions chartSunburstOptions, double value) #

Sets ChartSunburstOptions.SectorGap: Gets or sets the finite nonnegative minimum gap between painted Sunburst sector fills in logical pixels. Default: zero.

Parameters

chartSunburstOptions ChartForgeX.Core.ChartSunburstOptions required
The instance.
value double required
The value.

Returns

ChartSunburstOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartSunburstOptions { SectorGap = value };    chartSunburstOptions.SectorGap(value);