# ChartGaugeBand

Declares a numeric gauge band and its semantic colour.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

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

**Modifiers**

sealed

Declares a numeric gauge band and its semantic colour.

## Inheritance

- object
- ChartGaugeBand

## Usage

 Explore 5 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 [ChartGaugeOptions.Bands](/api/chartforgex-core-chartgaugeoptions/#property-bands)

### Accepted by parameters 4

- Extension method [ChartGaugeOptions.Band](/api/chartforgex-core-chartgaugeoptions/#extension-band-chartforgex-core-chartgaugeoptions-chartforgex-core-chartgaugeband) parameter `item`
- Extension method [ChartGaugeOptions.Bands](/api/chartforgex-core-chartgaugeoptions/#extension-bands-chartforgex-core-chartgaugeoptions-collections-generic-ienumerable-chartforgex-core-chartgaugeband) parameter `items`
- Method [ChartGaugeOptionsFluent.Band](/api/chartforgex-core-chartgaugeoptionsfluent/#method-band-chartforgex-core-chartgaugeoptions-chartforgex-core-chartgaugeband) parameter `item`
- Method [ChartGaugeOptionsFluent.Bands](/api/chartforgex-core-chartgaugeoptionsfluent/#method-bands-chartforgex-core-chartgaugeoptions-collections-generic-ienumerable-chartforgex-core-chartgaugeband) parameter `items`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartGaugeBand(double minimum, double maximum, ChartSeriesState state, ChartColor? color = null, double opacity = 1)` [#](#constructor-ctor-double-double-chartforgex-core-chartseriesstate-nullable-chartforgex-primitives-chartcolor-double) 

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

Creates a band in the gauge's value units.

Parameters

**minimum double required**

**maximum double required**

**state ChartForgeX.Core.ChartSeriesState required**

**color ChartForgeX.Primitives.ChartColor? = null optional**

**opacity double = 1 optional**

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

[ChartGaugeOptions.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGaugeOptions.cs#L22)

Gets the inclusive lower bound.

 `public double Maximum { get; }` [#](#property-maximum) 

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

Gets the exclusive upper bound, except at the gauge maximum.

 `public ChartSeriesState State { get; }` [#](#property-state) 

[ChartGaugeOptions.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGaugeOptions.cs#L26)

Gets the band's semantic role.

 `public ChartColor? Color { get; }` [#](#property-color) 

[ChartGaugeOptions.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGaugeOptions.cs#L28)

Gets an optional authored paint color, independent of the semantic state.

 `public double Opacity { get; }` [#](#property-opacity) 

[ChartGaugeOptions.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartGaugeOptions.cs#L30)

Gets the band opacity, from zero through one.

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