Skip to content
ChartForgeX
Class

ChartRadialLayer

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent

Describes one independently styled radial arc layer.

Inheritance

  • object
  • ChartRadialLayer

Usage

Explore 76 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 36

Accepted by parameters 40

Constructors

public ChartRadialLayer(string name, double value, double minimum = 0, double maximum = 100, ChartColor? color = null) #

Initializes a new radial layer.

Parameters

name string required
value double required
minimum double = 0 optional
maximum double = 100 optional
color ChartForgeX.Primitives.ChartColor? = null optional

Methods

public static ChartRadialLayer Create(string name, double value, double minimum = 0, double maximum = 100, ChartColor? color = null) #

Creates a new radial layer.

Parameters

name string required
value double required
minimum double = 0 optional
maximum double = 100 optional
color ChartForgeX.Primitives.ChartColor? = null optional
public ChartRadialLayer Scale(double minimum, double maximum) #

Sets the layer scale.

Parameters

minimum double required
maximum double required

Properties

public string Name { get; set; } #

Gets or sets the layer name used in metadata and legends.

public double Value { get; set; } #

Gets or sets the current value used to determine the visible arc length.

public double Minimum { get; set; } #

Gets or sets the minimum value for this layer.

public double Maximum { get; set; } #

Gets or sets the maximum value for this layer.

public ChartColor? Color { get; set; } #

Gets or sets the layer color. When null, the chart palette is used.

public double RadiusRatio { get; set; } #

Gets or sets the radius as a ratio of the available outer radius.

public double StrokeRatio { get; set; } #

Gets or sets the stroke width as a ratio of the available outer radius.

public double StartAngleDegrees { get; set; } #

Gets or sets the arc start angle in degrees, where -90 is the top of the circle.

public double SweepAngleDegrees { get; set; } #

Gets or sets the available sweep angle in degrees.

public double Opacity { get; set; } #

Gets or sets the opacity applied to the layer color.

public ChartRadialLayerCap LineCap { get; set; } #

Gets or sets the endpoint style.

public int SeparatorCount { get; set; } #

Gets or sets the number of radial separators drawn across the visible arc.

public ChartColor? SeparatorColor { get; set; } #

Gets or sets the separator color. When null, the chart card background is used.

public double SeparatorStrokeWidth { get; set; } #

Gets or sets the separator stroke width in pixels.

public double SeparatorInsetRatio { get; set; } #

Gets or sets how far separators are inset from each side of the stroke as a ratio of stroke width.

Extension Methods

public static ChartRadialLayer Color(ChartRadialLayer chartRadialLayer, ChartColor? value) #

Sets ChartRadialLayer.Color: Gets or sets the layer color. When null, the chart palette is used.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property      // C# fluent
chartRadialLayer.Color = value;    chartRadialLayer.Color(value);
public static ChartRadialLayer LineCap(ChartRadialLayer chartRadialLayer, ChartRadialLayerCap value) #

Sets ChartRadialLayer.LineCap: Gets or sets the endpoint style.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value ChartForgeX.Core.ChartRadialLayerCap required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property        // C# fluent
chartRadialLayer.LineCap = value;    chartRadialLayer.LineCap(value);
public static ChartRadialLayer Maximum(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.Maximum: Gets or sets the maximum value for this layer.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property        // C# fluent
chartRadialLayer.Maximum = value;    chartRadialLayer.Maximum(value);
public static ChartRadialLayer Minimum(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.Minimum: Gets or sets the minimum value for this layer.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property        // C# fluent
chartRadialLayer.Minimum = value;    chartRadialLayer.Minimum(value);
public static ChartRadialLayer Name(ChartRadialLayer chartRadialLayer, string value) #

Sets ChartRadialLayer.Name: Gets or sets the layer name used in metadata and legends.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value string required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property     // C# fluent
chartRadialLayer.Name = value;    chartRadialLayer.Name(value);
public static ChartRadialLayer Opacity(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.Opacity: Gets or sets the opacity applied to the layer color.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property        // C# fluent
chartRadialLayer.Opacity = value;    chartRadialLayer.Opacity(value);
public static ChartRadialLayer RadiusRatio(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.RadiusRatio: Gets or sets the radius as a ratio of the available outer radius.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property            // C# fluent
chartRadialLayer.RadiusRatio = value;    chartRadialLayer.RadiusRatio(value);
public static ChartRadialLayer SeparatorColor(ChartRadialLayer chartRadialLayer, ChartColor? value) #

Sets ChartRadialLayer.SeparatorColor: Gets or sets the separator color. When null, the chart card background is used.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property               // C# fluent
chartRadialLayer.SeparatorColor = value;    chartRadialLayer.SeparatorColor(value);
public static ChartRadialLayer SeparatorCount(ChartRadialLayer chartRadialLayer, int value) #

Sets ChartRadialLayer.SeparatorCount: Gets or sets the number of radial separators drawn across the visible arc.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value int required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property               // C# fluent
chartRadialLayer.SeparatorCount = value;    chartRadialLayer.SeparatorCount(value);
public static ChartRadialLayer SeparatorInsetRatio(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.SeparatorInsetRatio: Gets or sets how far separators are inset from each side of the stroke as a ratio of stroke width.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property                    // C# fluent
chartRadialLayer.SeparatorInsetRatio = value;    chartRadialLayer.SeparatorInsetRatio(value);
public static ChartRadialLayer SeparatorStrokeWidth(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.SeparatorStrokeWidth: Gets or sets the separator stroke width in pixels.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property                     // C# fluent
chartRadialLayer.SeparatorStrokeWidth = value;    chartRadialLayer.SeparatorStrokeWidth(value);
public static ChartRadialLayer StartAngleDegrees(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.StartAngleDegrees: Gets or sets the arc start angle in degrees, where -90 is the top of the circle.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property                  // C# fluent
chartRadialLayer.StartAngleDegrees = value;    chartRadialLayer.StartAngleDegrees(value);
public static ChartRadialLayer StrokeRatio(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.StrokeRatio: Gets or sets the stroke width as a ratio of the available outer radius.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property            // C# fluent
chartRadialLayer.StrokeRatio = value;    chartRadialLayer.StrokeRatio(value);
public static ChartRadialLayer SweepAngleDegrees(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.SweepAngleDegrees: Gets or sets the available sweep angle in degrees.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property                  // C# fluent
chartRadialLayer.SweepAngleDegrees = value;    chartRadialLayer.SweepAngleDegrees(value);
public static ChartRadialLayer Value(ChartRadialLayer chartRadialLayer, double value) #

Sets ChartRadialLayer.Value: Gets or sets the current value used to determine the visible arc length.

Parameters

chartRadialLayer ChartForgeX.Core.ChartRadialLayer required
The instance.
value double required
The value.

Returns

ChartRadialLayer The same instance.

Examples

// C# initializer or property      // C# fluent
chartRadialLayer.Value = value;    chartRadialLayer.Value(value);