Skip to content
ChartForgeX
Class

ChartAnnotationFluent

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
static

The fluent methods of 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

Methods

public static ChartAnnotation StrokeStyle(ChartAnnotation chartAnnotation, ChartStrokeStyle? value) #

Sets ChartAnnotation.StrokeStyle: 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

// C# initializer or property           // C# fluent
chartAnnotation.StrokeStyle = value;    chartAnnotation.StrokeStyle(value);
public static ChartAnnotation ValueAxis(ChartAnnotation chartAnnotation, ChartAxisSide value) #

Sets ChartAnnotation.ValueAxis: 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

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