# ChartErrorBar

One point estimate with independently authored horizontal and vertical uncertainty intervals.

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

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

**Base**

`ValueType`

**Modifiers**

sealed

One point estimate with independently authored horizontal and vertical uncertainty intervals.

## Inheritance

- ValueType
- ChartErrorBar

## Usage

 Explore 6 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 [ChartSeries.ErrorBars](/api/chartforgex-core-chartseries/#property-errorbars)

### Accepted by parameters 5

- Method [Chart.AddErrorBar](/api/chartforgex-core-chart/#method-adderrorbar-string-collections-generic-ienumerable-chartforgex-core-charterrorbar-nullable-chartforgex-primitives-chartcolor) parameter `errorBars`
- Method [Chart.AddErrorBar``1](/api/chartforgex-core-chart/#method-adderrorbar-string-collections-generic-ienumerable-func-chartforgex-core-charterrorbar-nullable-chartforgex-primitives-chartcolor) parameter `observation`
- Method [ChartSeries.CreateErrorBar](/api/chartforgex-core-chartseries/#method-createerrorbar-chartforgex-core-chartseriesid-string-collections-generic-ienumerable-chartforgex-core-charterrorbar-nullable-chartforgex-primitives-chartcolor) parameter `values`
- Method [ChartSeries.ReplaceErrorBars](/api/chartforgex-core-chartseries/#method-replaceerrorbars-collections-generic-ienumerable-chartforgex-core-charterrorbar) parameter `values`
- Method [ChartSeries.UpdateErrorBar](/api/chartforgex-core-chartseries/#method-updateerrorbar-int32-chartforgex-core-charterrorbar) parameter `value`

 Filter members   

    Show inherited   

 

## Constructors

 ChartErrorBar 2 overloads 

 `public ChartErrorBar(double x, double y, ChartErrorBounds? xBounds = null, ChartErrorBounds? yBounds = null)` [#](#constructor-ctor-double-double-nullable-chartforgex-core-charterrorbounds-nullable-chartforgex-core-charterrorbounds) 

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

Creates an estimate with horizontal, vertical or simultaneous uncertainty.

Parameters

**x double required**

The finite horizontal estimate.

**y double required**

The finite vertical estimate.

**xBounds ChartForgeX.Core.ChartErrorBounds? = null optional**

An interval containing X, or null to omit the horizontal whisker.

**yBounds ChartForgeX.Core.ChartErrorBounds? = null optional**

An interval containing Y, or null to omit the vertical whisker.

 `public ChartErrorBar(DateTime x, double y, ChartErrorBounds? xBounds = null, ChartErrorBounds? yBounds = null)` [#](#constructor-ctor-datetime-double-nullable-chartforgex-core-charterrorbounds-nullable-chartforgex-core-charterrorbounds) 

[ChartErrorBar.cs:36](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartErrorBar.cs#L36)

Creates an estimate with a UTC-converted date/time X coordinate and explicitly supplied source intervals.

Parameters

**x System.DateTime required**

The date/time horizontal estimate, using the existing native UTC conversion policy.

**y double required**

The finite vertical estimate.

**xBounds ChartForgeX.Core.ChartErrorBounds? = null optional**

A horizontal interval in the same OLE Automation source coordinates.

**yBounds ChartForgeX.Core.ChartErrorBounds? = null optional**

A vertical interval containing Y.

## 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 double X { get; }` [#](#property-x) 

[ChartErrorBar.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartErrorBar.cs#L9)

Gets the horizontal estimate in source coordinates.

 `public double Y { get; }` [#](#property-y) 

[ChartErrorBar.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartErrorBar.cs#L11)

Gets the vertical estimate in source coordinates.

 `public ChartErrorBounds? XBounds { get; }` [#](#property-xbounds) 

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

Gets the horizontal source interval, or null when horizontal uncertainty is not supplied.

 `public ChartErrorBounds? YBounds { get; }` [#](#property-ybounds) 

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

Gets the vertical source interval, or null when vertical uncertainty is not supplied.

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