# ChartRangeBarEndpointLabelContext

Provides captured authored interval facts and numeric text to an endpoint caption formatter.

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartRangeBarEndpointLabelContext.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartRangeBarEndpointLabelContext.cs#L8)

**Base**

`ValueType`

**Modifiers**

sealed

Provides captured authored interval facts and numeric text to an endpoint caption formatter.

## Inheritance

- ValueType
- ChartRangeBarEndpointLabelContext

## Usage

 Explore 3 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 [ChartRangeBarOptions.EndpointLabelFormatter](/api/chartforgex-core-chartrangebaroptions/#property-endpointlabelformatter)

### Accepted by parameters 2

- Extension method [ChartRangeBarOptions.EndpointLabelBy](/api/chartforgex-core-chartrangebaroptions/#extension-endpointlabelby-chartforgex-core-chartrangebaroptions-func-chartforgex-core-chartrangebarendpointlabelcontext-system-string) parameter `value`
- Method [ChartRangeBarOptionsFluent.EndpointLabelBy](/api/chartforgex-core-chartrangebaroptionsfluent/#method-endpointlabelby-chartforgex-core-chartrangebaroptions-func-chartforgex-core-chartrangebarendpointlabelcontext-system-string) parameter `value`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartRangeBarEndpointLabelContext(string seriesName, int pointIndex, string categoryLabel, ChartInterval interval, ChartRangeBarEndpoint endpoint, string formattedValue)` [#](#constructor-ctor-string-int32-string-chartforgex-core-chartinterval-chartforgex-core-chartrangebarendpoint-string) 

[ChartRangeBarEndpointLabelContext.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartRangeBarEndpointLabelContext.cs#L8)

Creates a context for one endpoint of an authored observation.

Parameters

**seriesName string required**

**pointIndex int required**

**categoryLabel string required**

**interval ChartForgeX.Core.ChartInterval required**

**endpoint ChartForgeX.Core.ChartRangeBarEndpoint required**

**formattedValue string required**

## Inherited Methods

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

Inherited from ValueType

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from ValueType

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

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

Inherited from ValueType

Returns

 `string?` 

## Properties

 `public string SeriesName { get; }` [#](#property-seriesname) 

[ChartRangeBarEndpointLabelContext.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartRangeBarEndpointLabelContext.cs#L13)

Gets the captured series name.

 `public int PointIndex { get; }` [#](#property-pointindex) 

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

Gets the zero-based authored observation index, rather than an encoded endpoint index.

 `public string CategoryLabel { get; }` [#](#property-categorylabel) 

[ChartRangeBarEndpointLabelContext.cs:17](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartRangeBarEndpointLabelContext.cs#L17)

Gets the complete resolved category caption.

 `public ChartInterval Interval { get; }` [#](#property-interval) 

[ChartRangeBarEndpointLabelContext.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartRangeBarEndpointLabelContext.cs#L19)

Gets the authored category coordinate and raw Start/End pair.

 `public ChartRangeBarEndpoint Endpoint { get; }` [#](#property-endpoint) 

[ChartRangeBarEndpointLabelContext.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartRangeBarEndpointLabelContext.cs#L21)

Gets the authored endpoint identity, unaffected by reversal or descending values.

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

[ChartRangeBarEndpointLabelContext.cs:23](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartRangeBarEndpointLabelContext.cs#L23)

Gets the raw value of the selected endpoint.

 `public string FormattedValue { get; }` [#](#property-formattedvalue) 

[ChartRangeBarEndpointLabelContext.cs:25](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartRangeBarEndpointLabelContext.cs#L25)

Gets the endpoint value captured with the chart's numeric display policy.

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