Skip to content

ChartOverlayRectangleEntry

ClassChartGuruChartGuru
public class ChartOverlayRectangleEntry

Serializable rectangle overlay entry used by manual data sources, with categorical or explicit X placement and optional dimensions and styling.

public string Label

Returns

System.String

public float XValue

Returns

System.Single

public bool HasExplicitX

Returns

System.Boolean

public float Value

Returns

System.Single

public Color ColorOverride

Returns

UnityEngine.Color

public float Opacity

Returns

System.Single

public MarkDimensionType WidthType

Returns

ChartGuru.MarkDimensionType

public float WidthValue

Returns

System.Single

public MarkDimensionType HeightType

Returns

ChartGuru.MarkDimensionType

public float HeightValue

Returns

System.Single

public ClipShape ClipShape

Returns

ChartGuru.ClipShape

public ChartOverlayRectangleEntry()

public ChartOverlayRectangleEntry(string label, float value)

Creates an overlay centered on a category label at the supplied Y value.

Parameters

Name Type
label System.String
value System.Single

public ChartOverlayRectangleEntry Clone()

Creates an independent copy including placement, dimensions, clipping, color, and opacity.

Returns

ChartGuru.ChartOverlayRectangleEntry

public MarkDimension WidthDimension { get; set; }

Returns

ChartGuru.MarkDimension

public MarkDimension HeightDimension { get; set; }

Returns

ChartGuru.MarkDimension