Skip to content
ChartForgeX
Class

ChartTreemapOptions

ChartForgeX.Core

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

Controls hierarchical treemap interiors and their independent numeric color legend.

Inheritance

  • object
  • ChartTreemapOptions

Usage

Explore 41 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 24

Constructors

public ChartTreemapOptions() #

Properties

public double? MinimumLabelFontSize { get; set; } #

Gets or sets an optional finite positive complete-caption font-size floor in logical pixels. Default: null.

public TextTrimming LabelTrimming { get; set; } #

Gets or sets the final primary-caption overflow policy. Default: None, retaining complete-or-omitted names.

public double GroupPadding { get; set; } #

Gets or sets the non-negative padding inside each group, in pixels. Default: six.

public double Gap { get; set; } #

Gets or sets the non-negative gap between sibling rectangles, in pixels. Small cells bound their own gap. Default: three.

public bool ShowGroupLabels { get; set; } #

Gets or sets whether measured group headers are reserved and drawn. Default: true.

public bool ShowValues { get; set; } #

Gets or sets whether group and leaf captions include magnitudes. Labels and semantic values are retained. Default: true.

public ChartColorScale? ColorScale { get; set; } #

Gets or sets the numeric color scale. When omitted, supplied color values 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 ChartTreemapOptions ColorDimension(ChartTreemapOptions chartTreemapOptions, Action<ChartColorDimensionOptions> configure) #

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

Parameters

chartTreemapOptions ChartForgeX.Core.ChartTreemapOptions required
The instance.
configure System.Action<ChartForgeX.Core.ChartColorDimensionOptions> required
Configures the value.

Returns

ChartTreemapOptions The same instance.
public static ChartTreemapOptions ColorScale(ChartTreemapOptions chartTreemapOptions, ChartColorScale? value) #

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

Parameters

chartTreemapOptions ChartForgeX.Core.ChartTreemapOptions required
The instance.
value ChartForgeX.Core.ChartColorScale? required
The value.

Returns

ChartTreemapOptions The same instance.

Examples

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

Sets ChartTreemapOptions.Gap: Gets or sets the non-negative gap between sibling rectangles, in pixels. Small cells bound their own gap. Default: three.

Parameters

chartTreemapOptions ChartForgeX.Core.ChartTreemapOptions required
The instance.
value double required
The value.

Returns

ChartTreemapOptions The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Core.ChartTreemapOptions { Gap = value };    chartTreemapOptions.Gap(value);
public static ChartTreemapOptions GroupPadding(ChartTreemapOptions chartTreemapOptions, double value) #

Sets ChartTreemapOptions.GroupPadding: Gets or sets the non-negative padding inside each group, in pixels. Default: six.

Parameters

chartTreemapOptions ChartForgeX.Core.ChartTreemapOptions required
The instance.
value double required
The value.

Returns

ChartTreemapOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartTreemapOptions { GroupPadding = value };    chartTreemapOptions.GroupPadding(value);
public static ChartTreemapOptions LabelTrimming(ChartTreemapOptions chartTreemapOptions, TextTrimming value) #

Sets ChartTreemapOptions.LabelTrimming: Gets or sets the final primary-caption overflow policy. Default: None, retaining complete-or-omitted names.

Parameters

chartTreemapOptions ChartForgeX.Core.ChartTreemapOptions required
The instance.
value ChartForgeX.Typography.TextTrimming required
The value.

Returns

ChartTreemapOptions The same instance.

Examples

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

Sets ChartTreemapOptions.MinimumLabelFontSize: Gets or sets an optional finite positive complete-caption font-size floor in logical pixels. Default: null.

Parameters

chartTreemapOptions ChartForgeX.Core.ChartTreemapOptions required
The instance.
value double? required
The value.

Returns

ChartTreemapOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.Core.ChartTreemapOptions { MinimumLabelFontSize = value };    chartTreemapOptions.MinimumLabelFontSize(value);
public static ChartTreemapOptions ShowGroupLabels(ChartTreemapOptions chartTreemapOptions, bool value = true) #

Sets ChartTreemapOptions.ShowGroupLabels: Gets or sets whether measured group headers are reserved and drawn. Default: true.

Parameters

chartTreemapOptions ChartForgeX.Core.ChartTreemapOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartTreemapOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.Core.ChartTreemapOptions { ShowGroupLabels = value };    chartTreemapOptions.ShowGroupLabels(value);
public static ChartTreemapOptions ShowValues(ChartTreemapOptions chartTreemapOptions, bool value = true) #

Sets ChartTreemapOptions.ShowValues: Gets or sets whether group and leaf captions include magnitudes. Labels and semantic values are retained. Default: true.

Parameters

chartTreemapOptions ChartForgeX.Core.ChartTreemapOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ChartTreemapOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartTreemapOptions { ShowValues = value };    chartTreemapOptions.ShowValues(value);