Skip to content

RulePlot<T>

ClassChartGuruChartGuru
[Serializable]
public class RulePlot<T> : ChartMark, IChartMark

Vectorized rule plot for rendering rules from collection data. Swift Charts equivalent: RulePlot(data, x:) or RulePlot(data, y:)

public override ChartType MarkType { get; }

No description is available for this member.

Returns

ChartGuru.ChartType — No return description is available.

public IEnumerable<T> Data { get; }

No description is available for this member.

Returns

System.Collections.Generic.IEnumerable{{T}} — No return description is available.

public static RulePlot<T> Vertical(IEnumerable<T> data, Func<T, float> x)

Creates a vertical RulePlot at x positions. Swift Charts equivalent: RulePlot(data, x: .value)

Parameters

Name Type Description
data System.Collections.Generic.IEnumerable{{T}}
x System.Func{{T},System.Single}

Returns

ChartGuru.RulePlot`1 — No return description is available.

public static RulePlot<T> Horizontal(IEnumerable<T> data, Func<T, float> y)

Creates a horizontal RulePlot at y positions. Swift Charts equivalent: RulePlot(data, y: .value)

Parameters

Name Type Description
data System.Collections.Generic.IEnumerable{{T}}
y System.Func{{T},System.Single}

Returns

ChartGuru.RulePlot`1 — No return description is available.

VerticalSegment(IEnumerable, Func<T, float>, Func<T, float>, Func<T, float>)

Section titled “VerticalSegment(IEnumerable, Func<T, float>, Func<T, float>, Func<T, float>)”
public static RulePlot<T> VerticalSegment(IEnumerable<T> data, Func<T, float> x, Func<T, float> yStart, Func<T, float> yEnd)

Creates a RulePlot with segments. Swift Charts equivalent: RulePlot(data, x:, yStart:, yEnd:)

Parameters

Name Type Description
data System.Collections.Generic.IEnumerable{{T}}
x System.Func{{T},System.Single}
yStart System.Func{{T},System.Single}
yEnd System.Func{{T},System.Single}

Returns

ChartGuru.RulePlot`1 — No return description is available.

HorizontalSegment(IEnumerable, Func<T, float>, Func<T, float>, Func<T, float>)

Section titled “HorizontalSegment(IEnumerable, Func<T, float>, Func<T, float>, Func<T, float>)”
public static RulePlot<T> HorizontalSegment(IEnumerable<T> data, Func<T, float> xStart, Func<T, float> xEnd, Func<T, float> y)

Creates a RulePlot with horizontal segments. Swift Charts equivalent: RulePlot(data, xStart:, xEnd:, y:)

Parameters

Name Type Description
data System.Collections.Generic.IEnumerable{{T}}
xStart System.Func{{T},System.Single}
xEnd System.Func{{T},System.Single}
y System.Func{{T},System.Single}

Returns

ChartGuru.RulePlot`1 — No return description is available.

public IEnumerable<RuleMark> GetMarks()

Generates individual RuleMarks from the data.

Returns

System.Collections.Generic.IEnumerable{ChartGuru.RuleMark} — No return description is available.

public RulePlot<T> LineStyle(float width)

No description is available for this member.

Parameters

Name Type Description
width System.Single

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> LineStyle(StrokeStyle style)

No description is available for this member.

Parameters

Name Type Description
style ChartGuru.StrokeStyle

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> LineStyle(Func<T, float> selector)

No description is available for this member.

Parameters

Name Type Description
selector System.Func{{T},System.Single}

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> LineStyle(Func<T, StrokeStyle> selector)

No description is available for this member.

Parameters

Name Type Description
selector System.Func{{T},ChartGuru.StrokeStyle}

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> ForegroundStyle(Color color)

No description is available for this member.

Parameters

Name Type Description
color UnityEngine.Color

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> ForegroundStyle(Func<T, object> seriesSelector)

No description is available for this member.

Parameters

Name Type Description
seriesSelector System.Func{{T},System.Object}

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> ForegroundStyle(Func<T, Color> colorSelector)

No description is available for this member.

Parameters

Name Type Description
colorSelector System.Func{{T},UnityEngine.Color}

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> AccessibilityLabel(Func<T, string> selector)

No description is available for this member.

Parameters

Name Type Description
selector System.Func{{T},System.String}

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> AccessibilityValue(Func<T, string> selector)

No description is available for this member.

Parameters

Name Type Description
selector System.Func{{T},System.String}

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> Opacity(float value)

No description is available for this member.

Parameters

Name Type Description
value System.Single

Returns

ChartGuru.RulePlot`1 — No return description is available.

public RulePlot<T> Opacity(Func<T, float> selector)

No description is available for this member.

Parameters

Name Type Description
selector System.Func{{T},System.Single}

Returns

ChartGuru.RulePlot`1 — 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.