# ChartDifferenceAreaOptions

Names and fill overrides for a paired difference area. Polarity always compares authored First with Second.

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartDifferenceAreaOptions.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDifferenceAreaOptions.cs#L10)

**Modifiers**

sealed

**Attributes**

 `Fluent(Copy = "Clone")` 

Names and fill overrides for a paired difference area. Polarity always compares authored First with Second.

## Inheritance

- object
- ChartDifferenceAreaOptions

## Usage

 Explore 29 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 13

- Extension method [ChartDifferenceAreaOptions.FirstName](/api/chartforgex-core-chartdifferenceareaoptions/#extension-firstname-chartforgex-core-chartdifferenceareaoptions-string)
- Extension method [ChartDifferenceAreaOptions.NegativeFill](/api/chartforgex-core-chartdifferenceareaoptions/#extension-negativefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor)
- Extension method [ChartDifferenceAreaOptions.NegativeFillOpacity](/api/chartforgex-core-chartdifferenceareaoptions/#extension-negativefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double)
- Extension method [ChartDifferenceAreaOptions.PositiveFill](/api/chartforgex-core-chartdifferenceareaoptions/#extension-positivefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor)
- Extension method [ChartDifferenceAreaOptions.PositiveFillOpacity](/api/chartforgex-core-chartdifferenceareaoptions/#extension-positivefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double)
- Extension method [ChartDifferenceAreaOptions.SecondName](/api/chartforgex-core-chartdifferenceareaoptions/#extension-secondname-chartforgex-core-chartdifferenceareaoptions-string)
- Method [ChartDifferenceAreaOptionsFluent.FirstName](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-firstname-chartforgex-core-chartdifferenceareaoptions-string)
- Method [ChartDifferenceAreaOptionsFluent.NegativeFill](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-negativefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor)
- Method [ChartDifferenceAreaOptionsFluent.NegativeFillOpacity](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-negativefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double)
- Method [ChartDifferenceAreaOptionsFluent.PositiveFill](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-positivefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor)
- Method [ChartDifferenceAreaOptionsFluent.PositiveFillOpacity](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-positivefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double)
- Method [ChartDifferenceAreaOptionsFluent.SecondName](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-secondname-chartforgex-core-chartdifferenceareaoptions-string)
- Property [ChartSeries.DifferenceArea](/api/chartforgex-core-chartseries/#property-differencearea)

### Accepted by parameters 16

- Extension method [ChartDifferenceAreaOptions.FirstName](/api/chartforgex-core-chartdifferenceareaoptions/#extension-firstname-chartforgex-core-chartdifferenceareaoptions-string) parameter `chartDifferenceAreaOptions`
- Extension method [ChartDifferenceAreaOptions.NegativeFill](/api/chartforgex-core-chartdifferenceareaoptions/#extension-negativefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor) parameter `chartDifferenceAreaOptions`
- Extension method [ChartDifferenceAreaOptions.NegativeFillOpacity](/api/chartforgex-core-chartdifferenceareaoptions/#extension-negativefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double) parameter `chartDifferenceAreaOptions`
- Extension method [ChartDifferenceAreaOptions.PositiveFill](/api/chartforgex-core-chartdifferenceareaoptions/#extension-positivefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor) parameter `chartDifferenceAreaOptions`
- Extension method [ChartDifferenceAreaOptions.PositiveFillOpacity](/api/chartforgex-core-chartdifferenceareaoptions/#extension-positivefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double) parameter `chartDifferenceAreaOptions`
- Extension method [ChartDifferenceAreaOptions.SecondName](/api/chartforgex-core-chartdifferenceareaoptions/#extension-secondname-chartforgex-core-chartdifferenceareaoptions-string) parameter `chartDifferenceAreaOptions`
- Method [ChartDifferenceAreaOptionsFluent.FirstName](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-firstname-chartforgex-core-chartdifferenceareaoptions-string) parameter `chartDifferenceAreaOptions`
- Method [ChartDifferenceAreaOptionsFluent.NegativeFill](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-negativefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor) parameter `chartDifferenceAreaOptions`
- Method [ChartDifferenceAreaOptionsFluent.NegativeFillOpacity](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-negativefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double) parameter `chartDifferenceAreaOptions`
- Method [ChartDifferenceAreaOptionsFluent.PositiveFill](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-positivefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor) parameter `chartDifferenceAreaOptions`
- Method [ChartDifferenceAreaOptionsFluent.PositiveFillOpacity](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-positivefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double) parameter `chartDifferenceAreaOptions`
- Method [ChartDifferenceAreaOptionsFluent.SecondName](/api/chartforgex-core-chartdifferenceareaoptionsfluent/#method-secondname-chartforgex-core-chartdifferenceareaoptions-string) parameter `chartDifferenceAreaOptions`
- Extension method [ChartSeries.DifferenceArea](/api/chartforgex-core-chartseries/#extension-differencearea-chartforgex-core-chartseries-action-chartforgex-core-chartdifferenceareaoptions) parameter `configure`
- Extension method [ChartSeries.DifferenceArea](/api/chartforgex-core-chartseries/#extension-differencearea-chartforgex-core-chartseries-chartforgex-core-chartdifferenceareaoptions) parameter `value`
- Method [ChartSeriesFluent.DifferenceArea](/api/chartforgex-core-chartseriesfluent/#method-differencearea-chartforgex-core-chartseries-action-chartforgex-core-chartdifferenceareaoptions) parameter `configure`
- Method [ChartSeriesFluent.DifferenceArea](/api/chartforgex-core-chartseriesfluent/#method-differencearea-chartforgex-core-chartseries-chartforgex-core-chartdifferenceareaoptions) parameter `value`

 Filter members   

    Show inherited   

 

## Constructors

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

[ChartDifferenceAreaOptions.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartDifferenceAreaOptions.cs#L10)

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

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

Gets or sets the first observation's readout name. The default is First.

 `public string SecondName { get; set; }` [#](#property-secondname) 

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

Gets or sets the second observation's readout name. The default is Second.

 `public ChartColor? PositiveFill { get; set; }` [#](#property-positivefill) 

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

Gets or sets fill where First is greater than Second. Null inherits series or palette paint.

 `public ChartColor? NegativeFill { get; set; }` [#](#property-negativefill) 

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

Gets or sets fill where First is less than Second. Null inherits explicit series paint or the next palette color.

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

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

Gets or sets the positive fill alpha multiplier from zero to one. Null inherits the area's theme opacity.

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

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

Gets or sets the negative fill alpha multiplier from zero to one. Null inherits the area's theme opacity.

## Extension Methods

 `public static ChartDifferenceAreaOptions FirstName(ChartDifferenceAreaOptions chartDifferenceAreaOptions, string value)` [#](#extension-firstname-chartforgex-core-chartdifferenceareaoptions-string) 

Sets [ChartDifferenceAreaOptions.FirstName](/api/chartforgex-core-chartdifferenceareaoptions/): Gets or sets the first observation's readout name. The default is First.

Parameters

**chartDifferenceAreaOptions ChartForgeX.Core.ChartDifferenceAreaOptions required**

The instance.

**value string required**

The value.

Returns

 `ChartDifferenceAreaOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartDifferenceAreaOptions { FirstName = value };    chartDifferenceAreaOptions.FirstName(value);
```

 `public static ChartDifferenceAreaOptions NegativeFill(ChartDifferenceAreaOptions chartDifferenceAreaOptions, ChartColor? value)` [#](#extension-negativefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor) 

Sets [ChartDifferenceAreaOptions.NegativeFill](/api/chartforgex-core-chartdifferenceareaoptions/): Gets or sets fill where First is less than Second. Null inherits explicit series paint or the next palette color.

Parameters

**chartDifferenceAreaOptions ChartForgeX.Core.ChartDifferenceAreaOptions required**

The instance.

**value ChartForgeX.Primitives.ChartColor? required**

The value.

Returns

 `ChartDifferenceAreaOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Core.ChartDifferenceAreaOptions { NegativeFill = value };    chartDifferenceAreaOptions.NegativeFill(value);
```

 `public static ChartDifferenceAreaOptions NegativeFillOpacity(ChartDifferenceAreaOptions chartDifferenceAreaOptions, double? value)` [#](#extension-negativefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double) 

Sets [ChartDifferenceAreaOptions.NegativeFillOpacity](/api/chartforgex-core-chartdifferenceareaoptions/): Gets or sets the negative fill alpha multiplier from zero to one. Null inherits the area's theme opacity.

Parameters

**chartDifferenceAreaOptions ChartForgeX.Core.ChartDifferenceAreaOptions required**

The instance.

**value double? required**

The value.

Returns

 `ChartDifferenceAreaOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Core.ChartDifferenceAreaOptions { NegativeFillOpacity = value };    chartDifferenceAreaOptions.NegativeFillOpacity(value);
```

 `public static ChartDifferenceAreaOptions PositiveFill(ChartDifferenceAreaOptions chartDifferenceAreaOptions, ChartColor? value)` [#](#extension-positivefill-chartforgex-core-chartdifferenceareaoptions-nullable-chartforgex-primitives-chartcolor) 

Sets [ChartDifferenceAreaOptions.PositiveFill](/api/chartforgex-core-chartdifferenceareaoptions/): Gets or sets fill where First is greater than Second. Null inherits series or palette paint.

Parameters

**chartDifferenceAreaOptions ChartForgeX.Core.ChartDifferenceAreaOptions required**

The instance.

**value ChartForgeX.Primitives.ChartColor? required**

The value.

Returns

 `ChartDifferenceAreaOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Core.ChartDifferenceAreaOptions { PositiveFill = value };    chartDifferenceAreaOptions.PositiveFill(value);
```

 `public static ChartDifferenceAreaOptions PositiveFillOpacity(ChartDifferenceAreaOptions chartDifferenceAreaOptions, double? value)` [#](#extension-positivefillopacity-chartforgex-core-chartdifferenceareaoptions-nullable-system-double) 

Sets [ChartDifferenceAreaOptions.PositiveFillOpacity](/api/chartforgex-core-chartdifferenceareaoptions/): Gets or sets the positive fill alpha multiplier from zero to one. Null inherits the area's theme opacity.

Parameters

**chartDifferenceAreaOptions ChartForgeX.Core.ChartDifferenceAreaOptions required**

The instance.

**value double? required**

The value.

Returns

 `ChartDifferenceAreaOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Core.ChartDifferenceAreaOptions { PositiveFillOpacity = value };    chartDifferenceAreaOptions.PositiveFillOpacity(value);
```

 `public static ChartDifferenceAreaOptions SecondName(ChartDifferenceAreaOptions chartDifferenceAreaOptions, string value)` [#](#extension-secondname-chartforgex-core-chartdifferenceareaoptions-string) 

Sets [ChartDifferenceAreaOptions.SecondName](/api/chartforgex-core-chartdifferenceareaoptions/): Gets or sets the second observation's readout name. The default is Second.

Parameters

**chartDifferenceAreaOptions ChartForgeX.Core.ChartDifferenceAreaOptions required**

The instance.

**value string required**

The value.

Returns

 `ChartDifferenceAreaOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Core.ChartDifferenceAreaOptions { SecondName = value };    chartDifferenceAreaOptions.SecondName(value);
```

<!-- PowerForge markdown artifact sha256:88D42A11CB005A4C3400D4B30E23FCB99B318503D4D5FFFD2445572E9158EA9B -->
