RadarMark
public class RadarMark : ChartMark, IChartMarkRepresents one radar-chart value, including its axis category, series identity, and mark styling.
Constructors
Section titled “Constructors”
RadarMark()
Section titled “RadarMark()”public RadarMark()
RadarMark(int, float)
Section titled “RadarMark(int, float)”public RadarMark(int axisIndex, float value)Creates one radar-axis sample from a zero-based axis index and radial value.
Parameters
| Name | Type |
|---|---|
axisIndex |
System.Int32 |
value |
System.Single |
RadarMark(DataPoint)
Section titled “RadarMark(DataPoint)”public RadarMark(DataPoint point)Creates a radar-axis sample from an existing point, interpreting its X coordinate as the axis index.
Parameters
| Name | Type |
|---|---|
point |
ChartGuru.DataPoint |
Methods
Section titled “Methods”
WithFillOpacity(float)
Section titled “WithFillOpacity(float)”public RadarMark WithFillOpacity(float opacity)Returns a copy with fill opacity replaced while preserving the remaining Radar Mark settings.
Parameters
| Name | Type |
|---|---|
opacity |
System.Single |
Returns
ChartGuru.RadarMark
WithPoints(SymbolShape, float)
Section titled “WithPoints(SymbolShape, float)”public RadarMark WithPoints(SymbolShape symbol = SymbolShape.Automatic, float size = 6)Returns a copy with points replaced while preserving the remaining Radar Mark settings.
Parameters
| Name | Type |
|---|---|
symbol |
ChartGuru.SymbolShape |
size |
System.Single |
Returns
ChartGuru.RadarMark
NoPoints()
Section titled “NoPoints()”public RadarMark NoPoints()Returns a copy that suppresses point symbols at the radar polygon’s vertices.
Returns
ChartGuru.RadarMark
WithLineWidth(float)
Section titled “WithLineWidth(float)”public RadarMark WithLineWidth(float width)Returns a copy with line width replaced while preserving the remaining Radar Mark settings.
Parameters
| Name | Type |
|---|---|
width |
System.Single |
Returns
ChartGuru.RadarMark
GetMorphTargets(ChartType, Rect)
Section titled “GetMorphTargets(ChartType, Rect)”public override (Vector2 source, Vector2 target) GetMorphTargets(ChartType targetType, Rect plotArea)Projects this mark into plot-space geometry that the morph renderer can interpolate toward the requested chart type.
Parameters
| Name | Type |
|---|---|
targetType |
ChartGuru.ChartType |
plotArea |
UnityEngine.Rect |
Returns
System.ValueTuple{UnityEngine.Vector2,UnityEngine.Vector2}
Clone()
Section titled “Clone()”public override IChartMark Clone()Creates an independent copy of this Radar Mark; later configuration changes do not affect the original instance.
Returns
ChartGuru.IChartMark
Properties
Section titled “Properties”
MarkType
Section titled “MarkType”public override ChartType MarkType { get; }Returns
ChartGuru.ChartType
AxisIndex
Section titled “AxisIndex”public int AxisIndex { get; set; }Returns
System.Int32
FillOpacity
Section titled “FillOpacity”public float FillOpacity { get; set; }Returns
System.Single
ShowPoints
Section titled “ShowPoints”public bool ShowPoints { get; set; }Returns
System.Boolean
PointSymbol
Section titled “PointSymbol”public SymbolShape PointSymbol { get; set; }Returns
ChartGuru.SymbolShape
PointSize
Section titled “PointSize”public float PointSize { get; set; }Returns
System.Single
LineWidth
Section titled “LineWidth”public float LineWidth { get; set; }Returns
System.Single
ShowGradient
Section titled “ShowGradient”public bool ShowGradient { get; set; }Returns
System.Boolean
RingStyle
Section titled “RingStyle”public RadarRingStyle RingStyle { get; set; }Style for the concentric tick rings drawn behind the radar polygon. When multiple radar series exist, the first mark’s value is used.
Returns
ChartGuru.RadarRingStyle