Skip to content

SectorMark

ClassChartGuruChartGuru
[Serializable]
public class SectorMark : ChartMark, IChartMark

Creates a SectorMark with the given Value (angle proportion). Swift Charts equivalent: SectorMark(angle: .Value(“Value”, value))

public override ChartType MarkType { get; }

No description is available for this member.

Returns

ChartGuru.ChartType — No return description is available.

public float InnerRadiusRatio { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public float OuterRadiusRatio { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public float StartAngle { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public float EndAngle { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public float PadAngle { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public float CornerRadiusValue { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public Color StrokeColor { get; set; }

No description is available for this member.

Returns

UnityEngine.Color — No return description is available.

public float StrokeWidth { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public float ExplodeOffset { get; set; }

No description is available for this member.

Returns

System.Single — No return description is available.

public float AngleSpan { get; }

No description is available for this member.

Returns

System.Single — No return description is available.

public float MidAngle { get; }

No description is available for this member.

Returns

System.Single — No return description is available.

public SectorMark()

No description is available for this member.

public SectorMark(float value)

Creates a SectorMark with the given Value (angle proportion). Swift Charts equivalent: SectorMark(angle: .Value(“Value”, value))

Parameters

Name Type Description
value System.Single
public SectorMark(float value, float innerRadius = 0, float angularInset = 0.01)

Creates a SectorMark with the given value and optional inner radius (for donut charts). Swift Charts equivalent: SectorMark(angle: .Value(…), innerRadius: .ratio(0.5))

Parameters

Name Type Description
value System.Single The angle Value (proportion)
innerRadius System.Single Inner radius ratio (0 = pie, >0 = donut)
angularInset System.Single Gap between slices in radians

SectorMark(PlottableValueRef, PlottableValueRef)

Section titled “SectorMark(PlottableValueRef, PlottableValueRef)”
public SectorMark(PlottableValueRef angle, PlottableValueRef category = null)

No description is available for this member.

Parameters

Name Type Description
angle ChartGuru.PlottableValueRef
category ChartGuru.PlottableValueRef

SectorMark(PlottableValueRef, float, float, PlottableValueRef)

Section titled “SectorMark(PlottableValueRef, float, float, PlottableValueRef)”
public SectorMark(PlottableValueRef angle, float innerRadius, float angularInset = 0.01, PlottableValueRef category = null)

No description is available for this member.

Parameters

Name Type Description
angle ChartGuru.PlottableValueRef
innerRadius System.Single
angularInset System.Single
category ChartGuru.PlottableValueRef
public SectorMark(DataPoint point)

No description is available for this member.

Parameters

Name Type Description
point ChartGuru.DataPoint
public SectorMark(float startAngle, float endAngle)

Creates a SectorMark with explicit start and end angles. Used by vectorized SectorPlot to specify angular bounds directly.

Parameters

Name Type Description
startAngle System.Single Start angle in degrees
endAngle System.Single End angle in degrees

public SectorMark CornerRadius(float radius)

Sets the corner radius for this sector. Swift Charts equivalent: .CornerRadius(value) Note: In Swift Charts, this is typically a constructor parameter.

Parameters

Name Type Description
radius System.Single

Returns

ChartGuru.SectorMark — No return description is available.

public SectorMark InnerRadius(float ratio)

Sets the inner radius ratio for this sector. Swift Charts equivalent: SectorMark(… innerRadius: .ratio(value))

Parameters

Name Type Description
ratio System.Single Inner radius as a ratio (0.0 = pie, 0.5+ = donut)

Returns

ChartGuru.SectorMark — No return description is available.

public SectorMark OuterRadius(float ratio)

Sets the outer radius ratio for this sector. Swift Charts equivalent: SectorMark(… outerRadius: .ratio(value))

Parameters

Name Type Description
ratio System.Single Outer radius as a ratio (0.0 to 1.0)

Returns

ChartGuru.SectorMark — No return description is available.

public SectorMark AngularInset(float inset)

Sets the angular inset (gap between slices) for this sector. Swift Charts equivalent: SectorMark(… angularInset: value)

Parameters

Name Type Description
inset System.Single Angular inset in degrees

Returns

ChartGuru.SectorMark — No return description is available.

public override (Vector2 source, Vector2 target) GetMorphTargets(ChartType targetType, Rect plotArea)

No description is available for this member.

Parameters

Name Type Description
targetType ChartGuru.ChartType
plotArea UnityEngine.Rect

Returns

System.ValueTuple{UnityEngine.Vector2,UnityEngine.Vector2} — No return description is available.

public override IChartMark Clone()

No description is available for this member.

Returns

ChartGuru.IChartMark — No return description is available.