# ChartColorDimensionOptionsFluent

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

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [ChartColorDimensionOptions](/api/chartforgex-core-chartcolordimensionoptions/), 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
- ChartColorDimensionOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartColorDimensionOptions LegendStyle(ChartColorDimensionOptions chartColorDimensionOptions, ChartColorLegendStyle value)` [#](#method-legendstyle-chartforgex-core-chartcolordimensionoptions-chartforgex-core-chartcolorlegendstyle) 

Sets [ChartColorDimensionOptions.LegendStyle](/api/chartforgex-core-chartcolordimensionoptions/): Gets or sets the numeric key presentation without changing value-to-color mapping. Default: Auto.

Parameters

**chartColorDimensionOptions ChartForgeX.Core.ChartColorDimensionOptions required**

The instance.

**value ChartForgeX.Core.ChartColorLegendStyle required**

The value.

Returns

 `ChartColorDimensionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartColorDimensionOptions { LegendStyle = value };    chartColorDimensionOptions.LegendStyle(value);
```

 `public static ChartColorDimensionOptions Name(ChartColorDimensionOptions chartColorDimensionOptions, string? value)` [#](#method-name-chartforgex-core-chartcolordimensionoptions-string) 

Sets [ChartColorDimensionOptions.Name](/api/chartforgex-core-chartcolordimensionoptions/): Gets or sets the color measurement name. Null restores the family default; nonnull names must not be blank.

Parameters

**chartColorDimensionOptions ChartForgeX.Core.ChartColorDimensionOptions required**

The instance.

**value string? required**

The value.

Returns

 `ChartColorDimensionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Core.ChartColorDimensionOptions { Name = value };    chartColorDimensionOptions.Name(value);
```

 `public static ChartColorDimensionOptions ShowLegend(ChartColorDimensionOptions chartColorDimensionOptions, bool value = true)` [#](#method-showlegend-chartforgex-core-chartcolordimensionoptions-boolean) 

Sets [ChartColorDimensionOptions.ShowLegend](/api/chartforgex-core-chartcolordimensionoptions/): Gets or sets whether the numeric key is drawn when the chart/frame legend is enabled. Independent of the categorical series entry. Default: true.

Parameters

**chartColorDimensionOptions ChartForgeX.Core.ChartColorDimensionOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartColorDimensionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Core.ChartColorDimensionOptions { ShowLegend = value };    chartColorDimensionOptions.ShowLegend(value);
```

 `public static ChartColorDimensionOptions ValueFormat(ChartColorDimensionOptions chartColorDimensionOptions, ChartValueFormat? value)` [#](#method-valueformat-chartforgex-core-chartcolordimensionoptions-chartforgex-core-chartvalueformat) 

Sets [ChartColorDimensionOptions.ValueFormat](/api/chartforgex-core-chartcolordimensionoptions/): Gets or sets the immutable number display policy. Null restores the family default without changing other dimensions.

Parameters

**chartColorDimensionOptions ChartForgeX.Core.ChartColorDimensionOptions required**

The instance.

**value ChartForgeX.Core.ChartValueFormat? required**

The value.

Returns

 `ChartColorDimensionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartColorDimensionOptions { ValueFormat = value };    chartColorDimensionOptions.ValueFormat(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:0D772E6750021BB1AD4ADE6A4410DB0B825BBCEAA70E1337B5D74B432548615F -->
