API Reference
ChartRadialLayer
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.
Returned or exposed by 14
- Method ChartRadialLayer.Create
- Method ChartRadialLayer.WithAngles
- Method ChartRadialLayer.WithColor
- Method ChartRadialLayer.WithGeometry
- Method ChartRadialLayer.WithLineCap
- Method ChartRadialLayer.WithName
- Method ChartRadialLayer.WithOpacity
- Method ChartRadialLayer.WithScale
- Method ChartRadialLayer.WithSeparators
- Method ChartRadialLayer.WithValue
- Method ChartRadialLayers.GetEnumerator
- Property ChartRadialLayers.Item
- Property ChartSeries.RadialLayers
- Property RadialMetricCard.Layers
Accepted by parameters 6
- Method Chart.AddLayeredRadial
- Method ChartRadialLayers.Add
- Method ChartRadialLayers.Add
- Method RadialMetricCard.AddLayer
- Method RadialMetricCard.AddLayer
- Method RadialMetricCard.WithLayers
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
- value System.Double
- minimum System.Double = 0
- maximum System.Double = 100
- color ChartForgeX.Primitives.ChartColor? = null
Methods
public static ChartRadialLayer Create(String name, Double value, Double minimum = 0, Double maximum = 100, ChartColor? color = null) #ChartRadialLayerCreates a new radial layer.
Parameters
- name System.String
- value System.Double
- minimum System.Double = 0
- maximum System.Double = 100
- color ChartForgeX.Primitives.ChartColor? = null
public ChartRadialLayer WithAngles(Double startAngleDegrees, Double sweepAngleDegrees) #ChartRadialLayerSets the radial angle range.
Parameters
- startAngleDegrees System.Double
- sweepAngleDegrees System.Double
public ChartRadialLayer WithColor(ChartColor? color) #ChartRadialLayerSets the layer color.
Parameters
- color ChartForgeX.Primitives.ChartColor?
public ChartRadialLayer WithGeometry(Double radiusRatio, Double strokeRatio) #ChartRadialLayerSets the rendered radius and stroke ratios.
Parameters
- radiusRatio System.Double
- strokeRatio System.Double
public ChartRadialLayer WithLineCap(ChartRadialLayerCap lineCap) #ChartRadialLayerSets the endpoint style.
Parameters
- lineCap ChartForgeX.Core.ChartRadialLayerCap
public ChartRadialLayer WithName(String name) #ChartRadialLayerSets the layer name.
Parameters
- name System.String
public ChartRadialLayer WithOpacity(Double opacity) #ChartRadialLayerSets the layer opacity.
Parameters
- opacity System.Double
public ChartRadialLayer WithScale(Double minimum, Double maximum) #ChartRadialLayerSets the layer scale.
Parameters
- minimum System.Double
- maximum System.Double
public ChartRadialLayer WithSeparators(Int32 count, ChartColor? color = null, Double strokeWidth = 3, Double insetRatio = 0.06) #ChartRadialLayerSets separators drawn across the visible layer arc.
Parameters
- count System.Int32
- color ChartForgeX.Primitives.ChartColor? = null
- strokeWidth System.Double = 3
- insetRatio System.Double = 0.06
public ChartRadialLayer WithValue(Double value) #ChartRadialLayerSets the current layer value.
Parameters
- value System.Double
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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.