# ChartAnnotationFluent

The fluent methods of ChartAnnotation, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [ChartAnnotation](/api/chartforgex-core-chartannotation/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- ChartAnnotationFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static ChartAnnotation StrokeStyle(ChartAnnotation chartAnnotation, ChartStrokeStyle? value)` [#](#method-strokestyle-chartforgex-core-chartannotation-chartforgex-core-chartstrokestyle) 

Sets [ChartAnnotation.StrokeStyle](/api/chartforgex-core-chartannotation/): Gets or sets optional reference-line stroke overrides used by the next preparation. Band fills retain their own color and opacity.

Parameters

**chartAnnotation ChartForgeX.Core.ChartAnnotation required**

The instance.

**value ChartForgeX.Core.ChartStrokeStyle? required**

The value.

Returns

 `ChartAnnotation` The same instance. 

Examples

```csharp
// C# initializer or property           // C# fluent
chartAnnotation.StrokeStyle = value;    chartAnnotation.StrokeStyle(value);
```

 `public static ChartAnnotation ValueAxis(ChartAnnotation chartAnnotation, ChartAxisSide value)` [#](#method-valueaxis-chartforgex-core-chartannotation-chartforgex-core-chartaxisside) 

Sets [ChartAnnotation.ValueAxis](/api/chartforgex-core-chartannotation/): Gets or sets the value axis that positions a horizontal reference line or band.

Parameters

**chartAnnotation ChartForgeX.Core.ChartAnnotation required**

The instance.

**value ChartForgeX.Core.ChartAxisSide required**

The value.

Returns

 `ChartAnnotation` The same instance. 

Examples

```csharp
// C# initializer or property         // C# fluent
chartAnnotation.ValueAxis = value;    chartAnnotation.ValueAxis(value);
```

## 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?` 

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