Skip to content
ChartForgeX
Class

ChartColorDimensionOptions

ChartForgeX.Core

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

Controls the name, number format and key presentation of an existing numeric color measurement.

Inheritance

  • object
  • ChartColorDimensionOptions

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 26

Constructors

public ChartColorDimensionOptions() #

Creates color presentation options using the family's default name, format and visible automatic key.

Properties

public string? Name { get; set; } #

Gets or sets the color measurement name. Null restores the family default; nonnull names must not be blank.

public ChartValueFormat? ValueFormat { get; set; } #

Gets or sets the immutable number display policy. Null restores the family default without changing other dimensions.

public bool ShowLegend { get; set; } #

Gets or sets whether the numeric key is drawn when the chart/frame legend is enabled. Independent of the categorical series entry. Default: true.

public ChartColorLegendStyle LegendStyle { get; set; } #

Gets or sets the numeric key presentation without changing value-to-color mapping. Default: Auto.

Extension Methods

public static ChartColorDimensionOptions LegendStyle(ChartColorDimensionOptions chartColorDimensionOptions, ChartColorLegendStyle value) #

Sets ChartColorDimensionOptions.LegendStyle: 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

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Core.ChartColorDimensionOptions { LegendStyle = value };    chartColorDimensionOptions.LegendStyle(value);
public static ChartColorDimensionOptions Name(ChartColorDimensionOptions chartColorDimensionOptions, string? value) #

Sets ChartColorDimensionOptions.Name: 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

// 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) #

Sets ChartColorDimensionOptions.ShowLegend: 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

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Core.ChartColorDimensionOptions { ShowLegend = value };    chartColorDimensionOptions.ShowLegend(value);
public static ChartColorDimensionOptions ValueFormat(ChartColorDimensionOptions chartColorDimensionOptions, ChartValueFormat? value) #

Sets ChartColorDimensionOptions.ValueFormat: 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

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