Skip to content

RadarMark

ClassChartGuruChartGuru
public class RadarMark : ChartMark, IChartMark

Represents one radar-chart value, including its axis category, series identity, and mark styling.

public RadarMark()

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

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

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

public RadarMark NoPoints()

Returns a copy that suppresses point symbols at the radar polygon’s vertices.

Returns

ChartGuru.RadarMark

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

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}

public override IChartMark Clone()

Creates an independent copy of this Radar Mark; later configuration changes do not affect the original instance.

Returns

ChartGuru.IChartMark

public override ChartType MarkType { get; }

Returns

ChartGuru.ChartType

public int AxisIndex { get; set; }

Returns

System.Int32

public float FillOpacity { get; set; }

Returns

System.Single

public bool ShowPoints { get; set; }

Returns

System.Boolean

public SymbolShape PointSymbol { get; set; }

Returns

ChartGuru.SymbolShape

public float PointSize { get; set; }

Returns

System.Single

public float LineWidth { get; set; }

Returns

System.Single

public bool ShowGradient { get; set; }

Returns

System.Boolean

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