# ChartTreemapOptionsFluent

The fluent methods of ChartTreemapOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [ChartTreemapOptions](/api/chartforgex-core-charttreemapoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- ChartTreemapOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartTreemapOptions ColorDimension(ChartTreemapOptions chartTreemapOptions, Action<ChartColorDimensionOptions> configure)` [#](#method-colordimension-chartforgex-core-charttreemapoptions-action-chartforgex-core-chartcolordimensionoptions) 

Configures [ChartTreemapOptions.ColorDimension](/api/chartforgex-core-charttreemapoptions/) 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)` [#](#method-colorscale-chartforgex-core-charttreemapoptions-chartforgex-core-chartcolorscale) 

Sets [ChartTreemapOptions.ColorScale](/api/chartforgex-core-charttreemapoptions/): 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

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

 `public static ChartTreemapOptions Gap(ChartTreemapOptions chartTreemapOptions, double value)` [#](#method-gap-chartforgex-core-charttreemapoptions-double) 

Sets [ChartTreemapOptions.Gap](/api/chartforgex-core-charttreemapoptions/): 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

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

 `public static ChartTreemapOptions GroupPadding(ChartTreemapOptions chartTreemapOptions, double value)` [#](#method-grouppadding-chartforgex-core-charttreemapoptions-double) 

Sets [ChartTreemapOptions.GroupPadding](/api/chartforgex-core-charttreemapoptions/): 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

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

 `public static ChartTreemapOptions LabelTrimming(ChartTreemapOptions chartTreemapOptions, TextTrimming value)` [#](#method-labeltrimming-chartforgex-core-charttreemapoptions-chartforgex-typography-texttrimming) 

Sets [ChartTreemapOptions.LabelTrimming](/api/chartforgex-core-charttreemapoptions/): 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

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

 `public static ChartTreemapOptions MinimumLabelFontSize(ChartTreemapOptions chartTreemapOptions, double? value)` [#](#method-minimumlabelfontsize-chartforgex-core-charttreemapoptions-nullable-system-double) 

Sets [ChartTreemapOptions.MinimumLabelFontSize](/api/chartforgex-core-charttreemapoptions/): 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

```csharp
// 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)` [#](#method-showgrouplabels-chartforgex-core-charttreemapoptions-boolean) 

Sets [ChartTreemapOptions.ShowGroupLabels](/api/chartforgex-core-charttreemapoptions/): 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

```csharp
// 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)` [#](#method-showvalues-chartforgex-core-charttreemapoptions-boolean) 

Sets [ChartTreemapOptions.ShowValues](/api/chartforgex-core-charttreemapoptions/): 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

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

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

<!-- PowerForge markdown artifact sha256:AD6311DD19E4ABBF22147C51017A871539DE947EDEC8DD829ED660055F60FDE5 -->
