Skip to content
ChartForgeX
Class

ChartFinancialItemOptions

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent(Copy = "Clone")

Paint, width and dash overrides for one financial direction. Null values inherit the existing series or family default.

Inheritance

  • object
  • ChartFinancialItemOptions

Usage

Explore 45 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.

Accepted by parameters 27

Constructors

public ChartFinancialItemOptions() #

Properties

public ChartColor? Fill { get; set; } #

Gets or sets the candlestick body fill. Explicit observation colors take precedence. OHLC does not support fill.

public double? FillOpacity { get; set; } #

Gets or sets the candlestick fill alpha multiplier, from zero to one. Zero produces a hollow body without a pattern or interior wick.

public ChartColor? Stroke { get; set; } #

Gets or sets the body outline or OHLC stroke. Explicit observation colors take precedence.

public double? StrokeOpacity { get; set; } #

Gets or sets the stroke alpha multiplier, from zero to one. The default multiplier is one.

public double? StrokeWidth { get; set; } #

Gets or sets the logical stroke width. Null inherits an explicit series width or the family default; zero removes the stroke.

public IReadOnlyList<double>? DashPattern { get; set; } #

Gets or sets a copied pattern of positive finite dash and gap lengths in logical pixels. Null or empty is solid. Odd-length patterns repeat twice; the complete repeated period must be finite.

public double? DashOffset { get; set; } #

Gets or sets a finite signed dash phase in logical pixels. Null means zero. Each OHLC stem or tick and each candlestick outline starts its own phase.

public ChartFinancialWickOptions Wick { get; private set; } #

Gets candlestick wick overrides. Unspecified wick values inherit this item's stroke values. OHLC does not support wick options.

Extension Methods

public static ChartFinancialItemOptions DashOffset(ChartFinancialItemOptions chartFinancialItemOptions, double? value) #

Sets ChartFinancialItemOptions.DashOffset: Gets or sets a finite signed dash phase in logical pixels. Null means zero. Each OHLC stem or tick and each candlestick outline starts its own phase.

Parameters

chartFinancialItemOptions ChartForgeX.Core.ChartFinancialItemOptions required
The instance.
value double? required
The value.

Returns

ChartFinancialItemOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Core.ChartFinancialItemOptions { DashOffset = value };    chartFinancialItemOptions.DashOffset(value);
public static ChartFinancialItemOptions DashPattern(ChartFinancialItemOptions chartFinancialItemOptions, IReadOnlyList<double>? value) #

Sets ChartFinancialItemOptions.DashPattern: Gets or sets a copied pattern of positive finite dash and gap lengths in logical pixels. Null or empty is solid. Odd-length patterns repeat twice; the complete repeated period must be finite.

Parameters

chartFinancialItemOptions ChartForgeX.Core.ChartFinancialItemOptions required
The instance.
value System.Collections.Generic.IReadOnlyList<double>? required
The value.

Returns

ChartFinancialItemOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Core.ChartFinancialItemOptions { DashPattern = value };    chartFinancialItemOptions.DashPattern(value);
public static ChartFinancialItemOptions Fill(ChartFinancialItemOptions chartFinancialItemOptions, ChartColor? value) #

Sets ChartFinancialItemOptions.Fill: Gets or sets the candlestick body fill. Explicit observation colors take precedence. OHLC does not support fill.

Parameters

chartFinancialItemOptions ChartForgeX.Core.ChartFinancialItemOptions required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartFinancialItemOptions The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Core.ChartFinancialItemOptions { Fill = value };    chartFinancialItemOptions.Fill(value);
public static ChartFinancialItemOptions FillOpacity(ChartFinancialItemOptions chartFinancialItemOptions, double? value) #

Sets ChartFinancialItemOptions.FillOpacity: Gets or sets the candlestick fill alpha multiplier, from zero to one. Zero produces a hollow body without a pattern or interior wick.

Parameters

chartFinancialItemOptions ChartForgeX.Core.ChartFinancialItemOptions required
The instance.
value double? required
The value.

Returns

ChartFinancialItemOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Core.ChartFinancialItemOptions { FillOpacity = value };    chartFinancialItemOptions.FillOpacity(value);
public static ChartFinancialItemOptions Stroke(ChartFinancialItemOptions chartFinancialItemOptions, ChartColor? value) #

Sets ChartFinancialItemOptions.Stroke: Gets or sets the body outline or OHLC stroke. Explicit observation colors take precedence.

Parameters

chartFinancialItemOptions ChartForgeX.Core.ChartFinancialItemOptions required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartFinancialItemOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Core.ChartFinancialItemOptions { Stroke = value };    chartFinancialItemOptions.Stroke(value);
public static ChartFinancialItemOptions StrokeOpacity(ChartFinancialItemOptions chartFinancialItemOptions, double? value) #

Sets ChartFinancialItemOptions.StrokeOpacity: Gets or sets the stroke alpha multiplier, from zero to one. The default multiplier is one.

Parameters

chartFinancialItemOptions ChartForgeX.Core.ChartFinancialItemOptions required
The instance.
value double? required
The value.

Returns

ChartFinancialItemOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::ChartForgeX.Core.ChartFinancialItemOptions { StrokeOpacity = value };    chartFinancialItemOptions.StrokeOpacity(value);
public static ChartFinancialItemOptions StrokeWidth(ChartFinancialItemOptions chartFinancialItemOptions, double? value) #

Sets ChartFinancialItemOptions.StrokeWidth: Gets or sets the logical stroke width. Null inherits an explicit series width or the family default; zero removes the stroke.

Parameters

chartFinancialItemOptions ChartForgeX.Core.ChartFinancialItemOptions required
The instance.
value double? required
The value.

Returns

ChartFinancialItemOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Core.ChartFinancialItemOptions { StrokeWidth = value };    chartFinancialItemOptions.StrokeWidth(value);
public static ChartFinancialItemOptions Wick(ChartFinancialItemOptions chartFinancialItemOptions, Action<ChartFinancialWickOptions> configure) #

Configures ChartFinancialItemOptions.Wick in place: Gets candlestick wick overrides. Unspecified wick values inherit this item's stroke values. OHLC does not support wick options.

Parameters

chartFinancialItemOptions ChartForgeX.Core.ChartFinancialItemOptions required
The instance.
configure System.Action<ChartForgeX.Core.ChartFinancialWickOptions> required
Configures the value.

Returns

ChartFinancialItemOptions The same instance.