SectorMark
[Serializable]public class SectorMark : ChartMark, IChartMarkCreates a SectorMark with the given Value (angle proportion). Swift Charts equivalent: SectorMark(angle: .Value(“Value”, value))
Properties
Section titled “Properties”
MarkType
Section titled “MarkType”public override ChartType MarkType { get; }No description is available for this member.
Returns
ChartGuru.ChartType — No return description is available.
InnerRadiusRatio
Section titled “InnerRadiusRatio”public float InnerRadiusRatio { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
OuterRadiusRatio
Section titled “OuterRadiusRatio”public float OuterRadiusRatio { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
StartAngle
Section titled “StartAngle”public float StartAngle { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
EndAngle
Section titled “EndAngle”public float EndAngle { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
PadAngle
Section titled “PadAngle”public float PadAngle { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
CornerRadiusValue
Section titled “CornerRadiusValue”public float CornerRadiusValue { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
StrokeColor
Section titled “StrokeColor”public Color StrokeColor { get; set; }No description is available for this member.
Returns
UnityEngine.Color — No return description is available.
StrokeWidth
Section titled “StrokeWidth”public float StrokeWidth { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
ExplodeOffset
Section titled “ExplodeOffset”public float ExplodeOffset { get; set; }No description is available for this member.
Returns
System.Single — No return description is available.
AngleSpan
Section titled “AngleSpan”public float AngleSpan { get; }No description is available for this member.
Returns
System.Single — No return description is available.
MidAngle
Section titled “MidAngle”public float MidAngle { get; }No description is available for this member.
Returns
System.Single — No return description is available.
Constructors
Section titled “Constructors”
SectorMark()
Section titled “SectorMark()”public SectorMark()No description is available for this member.
SectorMark(float)
Section titled “SectorMark(float)”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 | |
SectorMark(float, float, float)
Section titled “SectorMark(float, float, float)”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 | |
SectorMark(DataPoint)
Section titled “SectorMark(DataPoint)”public SectorMark(DataPoint point)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
point |
ChartGuru.DataPoint | |
SectorMark(float, float)
Section titled “SectorMark(float, float)”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 |
Methods
Section titled “Methods”
CornerRadius(float)
Section titled “CornerRadius(float)”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.
InnerRadius(float)
Section titled “InnerRadius(float)”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.
OuterRadius(float)
Section titled “OuterRadius(float)”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.
AngularInset(float)
Section titled “AngularInset(float)”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.
GetMorphTargets(ChartType, Rect)
Section titled “GetMorphTargets(ChartType, Rect)”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.
Clone()
Section titled “Clone()”public override IChartMark Clone()No description is available for this member.
Returns
ChartGuru.IChartMark — No return description is available.