# ChartPyramidOptions

Controls triangular partitions without sorting or changing their source categories.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartPyramidOptions.cs:59](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L59)

**Modifiers**

sealed

**Attributes**

 `Fluent(Copy = "Clone")` 

Controls triangular partitions without sorting or changing their source categories.

## Inheritance

- object
- ChartPyramidOptions

## Usage

 Explore 45 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.

### Returned or exposed by 19

- Property [ChartOptions.Pyramid](/api/chartforgex-core-chartoptions/#property-pyramid)
- Extension method [ChartPyramidOptions.AspectRatio](/api/chartforgex-core-chartpyramidoptions/#extension-aspectratio-chartforgex-core-chartpyramidoptions-nullable-system-double)
- Extension method [ChartPyramidOptions.CategoryLabel](/api/chartforgex-core-chartpyramidoptions/#extension-categorylabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions)
- Extension method [ChartPyramidOptions.LabelContent](/api/chartforgex-core-chartpyramidoptions/#extension-labelcontent-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstagelabelcontent)
- Extension method [ChartPyramidOptions.Orientation](/api/chartforgex-core-chartpyramidoptions/#extension-orientation-chartforgex-core-chartpyramidoptions-chartforgex-core-chartorientation)
- Extension method [ChartPyramidOptions.PartitionOutline](/api/chartforgex-core-chartpyramidoptions/#extension-partitionoutline-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstrokestyle)
- Extension method [ChartPyramidOptions.PartitionOutlineDashOffset](/api/chartforgex-core-chartpyramidoptions/#extension-partitionoutlinedashoffset-chartforgex-core-chartpyramidoptions-double)
- Extension method [ChartPyramidOptions.Reversed](/api/chartforgex-core-chartpyramidoptions/#extension-reversed-chartforgex-core-chartpyramidoptions-boolean)
- Extension method [ChartPyramidOptions.ValueEncoding](/api/chartforgex-core-chartpyramidoptions/#extension-valueencoding-chartforgex-core-chartpyramidoptions-chartforgex-core-chartpyramidvalueencoding)
- Extension method [ChartPyramidOptions.ValueLabel](/api/chartforgex-core-chartpyramidoptions/#extension-valuelabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions)
- Method [ChartPyramidOptionsFluent.AspectRatio](/api/chartforgex-core-chartpyramidoptionsfluent/#method-aspectratio-chartforgex-core-chartpyramidoptions-nullable-system-double)
- Method [ChartPyramidOptionsFluent.CategoryLabel](/api/chartforgex-core-chartpyramidoptionsfluent/#method-categorylabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions)
- Method [ChartPyramidOptionsFluent.LabelContent](/api/chartforgex-core-chartpyramidoptionsfluent/#method-labelcontent-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstagelabelcontent)
- Method [ChartPyramidOptionsFluent.Orientation](/api/chartforgex-core-chartpyramidoptionsfluent/#method-orientation-chartforgex-core-chartpyramidoptions-chartforgex-core-chartorientation)
- Method [ChartPyramidOptionsFluent.PartitionOutline](/api/chartforgex-core-chartpyramidoptionsfluent/#method-partitionoutline-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstrokestyle)
- Method [ChartPyramidOptionsFluent.PartitionOutlineDashOffset](/api/chartforgex-core-chartpyramidoptionsfluent/#method-partitionoutlinedashoffset-chartforgex-core-chartpyramidoptions-double)
- Method [ChartPyramidOptionsFluent.Reversed](/api/chartforgex-core-chartpyramidoptionsfluent/#method-reversed-chartforgex-core-chartpyramidoptions-boolean)
- Method [ChartPyramidOptionsFluent.ValueEncoding](/api/chartforgex-core-chartpyramidoptionsfluent/#method-valueencoding-chartforgex-core-chartpyramidoptions-chartforgex-core-chartpyramidvalueencoding)
- Method [ChartPyramidOptionsFluent.ValueLabel](/api/chartforgex-core-chartpyramidoptionsfluent/#method-valuelabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions)

### Accepted by parameters 26

- Extension method [Chart.Pyramid](/api/chartforgex-core-chart/#extension-pyramid-chartforgex-core-chart-action-chartforgex-core-chartpyramidoptions) parameter `configure`
- Extension method [Chart.Pyramid](/api/chartforgex-core-chart/#extension-pyramid-chartforgex-core-chart-chartforgex-core-chartpyramidoptions) parameter `value`
- Method [ChartFluent.Pyramid](/api/chartforgex-core-chartfluent/#method-pyramid-chartforgex-core-chart-action-chartforgex-core-chartpyramidoptions) parameter `configure`
- Method [ChartFluent.Pyramid](/api/chartforgex-core-chartfluent/#method-pyramid-chartforgex-core-chart-chartforgex-core-chartpyramidoptions) parameter `value`
- Extension method [ChartOptions.Pyramid](/api/chartforgex-core-chartoptions/#extension-pyramid-chartforgex-core-chartoptions-action-chartforgex-core-chartpyramidoptions) parameter `configure`
- Extension method [ChartOptions.Pyramid](/api/chartforgex-core-chartoptions/#extension-pyramid-chartforgex-core-chartoptions-chartforgex-core-chartpyramidoptions) parameter `value`
- Method [ChartOptionsFluent.Pyramid](/api/chartforgex-core-chartoptionsfluent/#method-pyramid-chartforgex-core-chartoptions-action-chartforgex-core-chartpyramidoptions) parameter `configure`
- Method [ChartOptionsFluent.Pyramid](/api/chartforgex-core-chartoptionsfluent/#method-pyramid-chartforgex-core-chartoptions-chartforgex-core-chartpyramidoptions) parameter `value`
- Extension method [ChartPyramidOptions.AspectRatio](/api/chartforgex-core-chartpyramidoptions/#extension-aspectratio-chartforgex-core-chartpyramidoptions-nullable-system-double) parameter `chartPyramidOptions`
- Extension method [ChartPyramidOptions.CategoryLabel](/api/chartforgex-core-chartpyramidoptions/#extension-categorylabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions) parameter `chartPyramidOptions`
- Extension method [ChartPyramidOptions.LabelContent](/api/chartforgex-core-chartpyramidoptions/#extension-labelcontent-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstagelabelcontent) parameter `chartPyramidOptions`
- Extension method [ChartPyramidOptions.Orientation](/api/chartforgex-core-chartpyramidoptions/#extension-orientation-chartforgex-core-chartpyramidoptions-chartforgex-core-chartorientation) parameter `chartPyramidOptions`
- Extension method [ChartPyramidOptions.PartitionOutline](/api/chartforgex-core-chartpyramidoptions/#extension-partitionoutline-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstrokestyle) parameter `chartPyramidOptions`
- Extension method [ChartPyramidOptions.PartitionOutlineDashOffset](/api/chartforgex-core-chartpyramidoptions/#extension-partitionoutlinedashoffset-chartforgex-core-chartpyramidoptions-double) parameter `chartPyramidOptions`
- Extension method [ChartPyramidOptions.Reversed](/api/chartforgex-core-chartpyramidoptions/#extension-reversed-chartforgex-core-chartpyramidoptions-boolean) parameter `chartPyramidOptions`
- Extension method [ChartPyramidOptions.ValueEncoding](/api/chartforgex-core-chartpyramidoptions/#extension-valueencoding-chartforgex-core-chartpyramidoptions-chartforgex-core-chartpyramidvalueencoding) parameter `chartPyramidOptions`
- Extension method [ChartPyramidOptions.ValueLabel](/api/chartforgex-core-chartpyramidoptions/#extension-valuelabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions) parameter `chartPyramidOptions`
- Method [ChartPyramidOptionsFluent.AspectRatio](/api/chartforgex-core-chartpyramidoptionsfluent/#method-aspectratio-chartforgex-core-chartpyramidoptions-nullable-system-double) parameter `chartPyramidOptions`
- Method [ChartPyramidOptionsFluent.CategoryLabel](/api/chartforgex-core-chartpyramidoptionsfluent/#method-categorylabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions) parameter `chartPyramidOptions`
- Method [ChartPyramidOptionsFluent.LabelContent](/api/chartforgex-core-chartpyramidoptionsfluent/#method-labelcontent-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstagelabelcontent) parameter `chartPyramidOptions`
- Method [ChartPyramidOptionsFluent.Orientation](/api/chartforgex-core-chartpyramidoptionsfluent/#method-orientation-chartforgex-core-chartpyramidoptions-chartforgex-core-chartorientation) parameter `chartPyramidOptions`
- Method [ChartPyramidOptionsFluent.PartitionOutline](/api/chartforgex-core-chartpyramidoptionsfluent/#method-partitionoutline-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstrokestyle) parameter `chartPyramidOptions`
- Method [ChartPyramidOptionsFluent.PartitionOutlineDashOffset](/api/chartforgex-core-chartpyramidoptionsfluent/#method-partitionoutlinedashoffset-chartforgex-core-chartpyramidoptions-double) parameter `chartPyramidOptions`
- Method [ChartPyramidOptionsFluent.Reversed](/api/chartforgex-core-chartpyramidoptionsfluent/#method-reversed-chartforgex-core-chartpyramidoptions-boolean) parameter `chartPyramidOptions`
- Method [ChartPyramidOptionsFluent.ValueEncoding](/api/chartforgex-core-chartpyramidoptionsfluent/#method-valueencoding-chartforgex-core-chartpyramidoptions-chartforgex-core-chartpyramidvalueencoding) parameter `chartPyramidOptions`
- Method [ChartPyramidOptionsFluent.ValueLabel](/api/chartforgex-core-chartpyramidoptionsfluent/#method-valuelabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions) parameter `chartPyramidOptions`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartPyramidOptions()` [#](#constructor-ctor) 

[ChartPyramidOptions.cs:59](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L59)

## 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?` 

## Properties

 `public ChartPyramidValueEncoding ValueEncoding { get; set; }` [#](#property-valueencoding) 

[ChartPyramidOptions.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L15)

Gets or sets the proportional quantity. The default is segment height, independently of orientation.

 `public ChartOrientation Orientation { get; set; }` [#](#property-orientation) 

[ChartPyramidOptions.cs:24](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L24)

Gets or sets the tip-to-base direction. The default places the tip above the base.

 `public bool Reversed { get; set; }` [#](#property-reversed) 

[ChartPyramidOptions.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L32)

Gets or sets whether the tip-to-base direction is reversed. Category order and source identities stay unchanged.

 `public double? AspectRatio { get; set; }` [#](#property-aspectratio) 

[ChartPyramidOptions.cs:37](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L37)

Gets or sets the base width divided by tip-to-base length, independently of orientation.

 `public ChartStageLabelContent LabelContent { get; set; }` [#](#property-labelcontent) 

[ChartPyramidOptions.cs:52](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L52)

Gets or sets combined (default) or independently positioned component captions. Shared data labels must be enabled.

 `public ChartValueLabelOptions CategoryLabel { get; private set; }` [#](#property-categorylabel) 

[ChartPyramidOptions.cs:59](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L59)

Gets independent category visibility, physical placement and typography in Separate mode. Null inherits series/chart placement; Auto prefers the outside rail.

 `public ChartValueLabelOptions ValueLabel { get; private set; }` [#](#property-valuelabel) 

[ChartPyramidOptions.cs:61](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L61)

Gets independent value visibility, physical placement and typography in Separate mode. Null inherits series/chart placement; Auto prefers the mark interior.

 `public ChartStrokeStyle? PartitionOutline { get; set; }` [#](#property-partitionoutline) 

[ChartPyramidOptions.cs:63](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L63)

Gets or sets the optional shared partition outline policy. Point stroke colors take precedence over its color; null preserves the existing unoutlined partition or Cone line.

 `public double PartitionOutlineDashOffset { get; set; }` [#](#property-partitionoutlinedashoffset) 

[ChartPyramidOptions.cs:66](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartPyramidOptions.cs#L66)

Gets or sets the finite partition outline dash phase in logical units.

## Extension Methods

 `public static ChartPyramidOptions AspectRatio(ChartPyramidOptions chartPyramidOptions, double? value)` [#](#extension-aspectratio-chartforgex-core-chartpyramidoptions-nullable-system-double) 

Sets [ChartPyramidOptions.AspectRatio](/api/chartforgex-core-chartpyramidoptions/): Gets or sets the base width divided by tip-to-base length, independently of orientation.

Parameters

**chartPyramidOptions ChartForgeX.Core.ChartPyramidOptions required**

The instance.

**value double? required**

The value.

Returns

 `ChartPyramidOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Core.ChartPyramidOptions { AspectRatio = value };    chartPyramidOptions.AspectRatio(value);
```

 `public static ChartPyramidOptions CategoryLabel(ChartPyramidOptions chartPyramidOptions, Action<ChartValueLabelOptions> configure)` [#](#extension-categorylabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions) 

Configures [ChartPyramidOptions.CategoryLabel](/api/chartforgex-core-chartpyramidoptions/) in place: Gets independent category visibility, physical placement and typography in Separate mode. Null inherits series/chart placement; Auto prefers the outside rail.

Parameters

**chartPyramidOptions ChartForgeX.Core.ChartPyramidOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartValueLabelOptions> required**

Configures the value.

Returns

 `ChartPyramidOptions` The same instance. 

 `public static ChartPyramidOptions LabelContent(ChartPyramidOptions chartPyramidOptions, ChartStageLabelContent value)` [#](#extension-labelcontent-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstagelabelcontent) 

Sets [ChartPyramidOptions.LabelContent](/api/chartforgex-core-chartpyramidoptions/): Gets or sets combined (default) or independently positioned component captions. Shared data labels must be enabled.

Parameters

**chartPyramidOptions ChartForgeX.Core.ChartPyramidOptions required**

The instance.

**value ChartForgeX.Core.ChartStageLabelContent required**

The value.

Returns

 `ChartPyramidOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartPyramidOptions { LabelContent = value };    chartPyramidOptions.LabelContent(value);
```

 `public static ChartPyramidOptions Orientation(ChartPyramidOptions chartPyramidOptions, ChartOrientation value)` [#](#extension-orientation-chartforgex-core-chartpyramidoptions-chartforgex-core-chartorientation) 

Sets [ChartPyramidOptions.Orientation](/api/chartforgex-core-chartpyramidoptions/): Gets or sets the tip-to-base direction. The default places the tip above the base.

Parameters

**chartPyramidOptions ChartForgeX.Core.ChartPyramidOptions required**

The instance.

**value ChartForgeX.Core.ChartOrientation required**

The value.

Returns

 `ChartPyramidOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Core.ChartPyramidOptions { Orientation = value };    chartPyramidOptions.Orientation(value);
```

 `public static ChartPyramidOptions PartitionOutline(ChartPyramidOptions chartPyramidOptions, ChartStrokeStyle? value)` [#](#extension-partitionoutline-chartforgex-core-chartpyramidoptions-chartforgex-core-chartstrokestyle) 

Sets [ChartPyramidOptions.PartitionOutline](/api/chartforgex-core-chartpyramidoptions/): Gets or sets the optional shared partition outline policy. Point stroke colors take precedence over its color; null preserves the existing unoutlined partition or Cone line.

Parameters

**chartPyramidOptions ChartForgeX.Core.ChartPyramidOptions required**

The instance.

**value ChartForgeX.Core.ChartStrokeStyle? required**

The value.

Returns

 `ChartPyramidOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartPyramidOptions { PartitionOutline = value };    chartPyramidOptions.PartitionOutline(value);
```

 `public static ChartPyramidOptions PartitionOutlineDashOffset(ChartPyramidOptions chartPyramidOptions, double value)` [#](#extension-partitionoutlinedashoffset-chartforgex-core-chartpyramidoptions-double) 

Sets [ChartPyramidOptions.PartitionOutlineDashOffset](/api/chartforgex-core-chartpyramidoptions/): Gets or sets the finite partition outline dash phase in logical units.

Parameters

**chartPyramidOptions ChartForgeX.Core.ChartPyramidOptions required**

The instance.

**value double required**

The value.

Returns

 `ChartPyramidOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Core.ChartPyramidOptions { PartitionOutlineDashOffset = value };    chartPyramidOptions.PartitionOutlineDashOffset(value);
```

 `public static ChartPyramidOptions Reversed(ChartPyramidOptions chartPyramidOptions, bool value = true)` [#](#extension-reversed-chartforgex-core-chartpyramidoptions-boolean) 

Sets [ChartPyramidOptions.Reversed](/api/chartforgex-core-chartpyramidoptions/): Gets or sets whether the tip-to-base direction is reversed. Category order and source identities stay unchanged.

Parameters

**chartPyramidOptions ChartForgeX.Core.ChartPyramidOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `ChartPyramidOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Core.ChartPyramidOptions { Reversed = value };    chartPyramidOptions.Reversed(value);
```

 `public static ChartPyramidOptions ValueEncoding(ChartPyramidOptions chartPyramidOptions, ChartPyramidValueEncoding value)` [#](#extension-valueencoding-chartforgex-core-chartpyramidoptions-chartforgex-core-chartpyramidvalueencoding) 

Sets [ChartPyramidOptions.ValueEncoding](/api/chartforgex-core-chartpyramidoptions/): Gets or sets the proportional quantity. The default is segment height, independently of orientation.

Parameters

**chartPyramidOptions ChartForgeX.Core.ChartPyramidOptions required**

The instance.

**value ChartForgeX.Core.ChartPyramidValueEncoding required**

The value.

Returns

 `ChartPyramidOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Core.ChartPyramidOptions { ValueEncoding = value };    chartPyramidOptions.ValueEncoding(value);
```

 `public static ChartPyramidOptions ValueLabel(ChartPyramidOptions chartPyramidOptions, Action<ChartValueLabelOptions> configure)` [#](#extension-valuelabel-chartforgex-core-chartpyramidoptions-action-chartforgex-core-chartvaluelabeloptions) 

Configures [ChartPyramidOptions.ValueLabel](/api/chartforgex-core-chartpyramidoptions/) in place: Gets independent value visibility, physical placement and typography in Separate mode. Null inherits series/chart placement; Auto prefers the mark interior.

Parameters

**chartPyramidOptions ChartForgeX.Core.ChartPyramidOptions required**

The instance.

**configure System.Action<ChartForgeX.Core.ChartValueLabelOptions> required**

Configures the value.

Returns

 `ChartPyramidOptions` The same instance. 

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