Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

ChartRadialLayer

Namespace ChartForgeX.Core
Assembly ChartForgeX
Modifiers sealed

Describes one independently styled radial arc layer.

Inheritance

  • Object
  • ChartRadialLayer

Usage

Explore 20 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 6

Constructors

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

Initializes a new radial layer.

Parameters

name System.String requiredposition: 0
value System.Double requiredposition: 1
minimum System.Double = 0 optionalposition: 2
maximum System.Double = 100 optionalposition: 3
color ChartForgeX.Primitives.ChartColor? = null optionalposition: 4

Methods

public static ChartRadialLayer Create(String name, Double value, Double minimum = 0, Double maximum = 100, ChartColor? color = null) #
Returns: ChartRadialLayer

Creates a new radial layer.

Parameters

name System.String requiredposition: 0
value System.Double requiredposition: 1
minimum System.Double = 0 optionalposition: 2
maximum System.Double = 100 optionalposition: 3
color ChartForgeX.Primitives.ChartColor? = null optionalposition: 4
public ChartRadialLayer WithAngles(Double startAngleDegrees, Double sweepAngleDegrees) #
Returns: ChartRadialLayer

Sets the radial angle range.

Parameters

startAngleDegrees System.Double requiredposition: 0
sweepAngleDegrees System.Double requiredposition: 1
public ChartRadialLayer WithColor(ChartColor? color) #
Returns: ChartRadialLayer

Sets the layer color.

Parameters

color ChartForgeX.Primitives.ChartColor? requiredposition: 0
public ChartRadialLayer WithGeometry(Double radiusRatio, Double strokeRatio) #
Returns: ChartRadialLayer

Sets the rendered radius and stroke ratios.

Parameters

radiusRatio System.Double requiredposition: 0
strokeRatio System.Double requiredposition: 1
public ChartRadialLayer WithLineCap(ChartRadialLayerCap lineCap) #
Returns: ChartRadialLayer

Sets the endpoint style.

Parameters

lineCap ChartForgeX.Core.ChartRadialLayerCap requiredposition: 0
public ChartRadialLayer WithName(String name) #
Returns: ChartRadialLayer

Sets the layer name.

Parameters

name System.String requiredposition: 0
public ChartRadialLayer WithOpacity(Double opacity) #
Returns: ChartRadialLayer

Sets the layer opacity.

Parameters

opacity System.Double requiredposition: 0
public ChartRadialLayer WithScale(Double minimum, Double maximum) #
Returns: ChartRadialLayer

Sets the layer scale.

Parameters

minimum System.Double requiredposition: 0
maximum System.Double requiredposition: 1
public ChartRadialLayer WithSeparators(Int32 count, ChartColor? color = null, Double strokeWidth = 3, Double insetRatio = 0.06) #
Returns: ChartRadialLayer

Sets separators drawn across the visible layer arc.

Parameters

count System.Int32 requiredposition: 0
color ChartForgeX.Primitives.ChartColor? = null optionalposition: 1
strokeWidth System.Double = 3 optionalposition: 2
insetRatio System.Double = 0.06 optionalposition: 3
public ChartRadialLayer WithValue(Double value) #
Returns: ChartRadialLayer

Sets the current layer value.

Parameters

value System.Double requiredposition: 0

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 Int32 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.