GridRenderData
public struct GridRenderDataGrid-line positions + styling, in plot-space pixels.
Fields
Section titled “Fields”
PlotArea
Section titled “PlotArea”public Rect PlotAreaReturns
UnityEngine.Rect
XPositions
Section titled “XPositions”public IReadOnlyList<float> XPositionsReturns
System.Collections.Generic.IReadOnlyList{System.Single}
YPositions
Section titled “YPositions”public IReadOnlyList<float> YPositionsReturns
System.Collections.Generic.IReadOnlyList{System.Single}
XGridColor
Section titled “XGridColor”public Color XGridColorReturns
UnityEngine.Color
YGridColor
Section titled “YGridColor”public Color YGridColorReturns
UnityEngine.Color
LineWidth
Section titled “LineWidth”public float LineWidthReturns
System.Single
ShowXGrid
Section titled “ShowXGrid”public bool ShowXGridReturns
System.Boolean
ShowYGrid
Section titled “ShowYGrid”public bool ShowYGridReturns
System.Boolean
XGridColors
Section titled “XGridColors”public IReadOnlyList<Color> XGridColorsPer-position grid colors. When non-null, overrides the uniform color for each position.
Returns
System.Collections.Generic.IReadOnlyList{UnityEngine.Color}
YGridColors
Section titled “YGridColors”public IReadOnlyList<Color> YGridColorsReturns
System.Collections.Generic.IReadOnlyList{UnityEngine.Color}
XGridWidths
Section titled “XGridWidths”public IReadOnlyList<float> XGridWidthsPer-position grid widths. When non-null, overrides the uniform width for each position.
Returns
System.Collections.Generic.IReadOnlyList{System.Single}
YGridWidths
Section titled “YGridWidths”public IReadOnlyList<float> YGridWidthsReturns
System.Collections.Generic.IReadOnlyList{System.Single}
XGridDash
Section titled “XGridDash”public float[] XGridDashDash pattern for X-axis (vertical) grid lines. Null = solid. Swift Charts: AxisGridLine(stroke: StrokeStyle(dash:)).
Returns
System.Single[]
YGridDash
Section titled “YGridDash”public float[] YGridDashDash pattern for Y-axis (horizontal) grid lines. Null = solid.
Returns
System.Single[]