# MermaidPieSlice

Describes one Mermaid pie slice. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidPieDocument.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPieDocument.cs#L35)

**Modifiers**

sealed

Describes one Mermaid pie slice.

## Inheritance

- object
- MermaidPieSlice

## Usage

 Explore 1 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 1

- Property [MermaidPieDocument.Slices](/api/chartforgex-mermaid-mermaidpiedocument/#property-slices)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidPieSlice(string label, double value, MermaidSourceSpan span)` [#](#constructor-ctor-string-double-chartforgex-mermaid-mermaidsourcespan) 

[MermaidPieDocument.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPieDocument.cs#L35)

Initializes a pie slice.

Parameters

**label string required**

**value double required**

**span ChartForgeX.Mermaid.MermaidSourceSpan required**

## 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 string Label { get; set; }` [#](#property-label) 

[MermaidPieDocument.cs:42](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPieDocument.cs#L42)

Gets or sets the slice label.

 `public double Value { get; set; }` [#](#property-value) 

[MermaidPieDocument.cs:45](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPieDocument.cs#L45)

Gets or sets the positive numeric slice value.

 `public MermaidSourceSpan Span { get; set; }` [#](#property-span) 

[MermaidPieDocument.cs:48](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidPieDocument.cs#L48)

Gets or sets the source span.

<!-- PowerForge markdown artifact sha256:8BB70A2E57B386EF9859524BB076D1C71CB51322BE203EAAA2E53FBD5FCB1E6E -->
