Skip to content

PlottableValue<T>

StructChartGuruChartGuru
public readonly struct PlottableValue<T> where T : unmanaged

A labeled value for chart data binding. The label is used for axis titles, tooltips, and legends. This is a high-performance unmanaged struct optimized for Burst compilation.

public readonly FixedString64Bytes Label

Human-readable label for this Value (appears on axes, tooltips).

Returns

Unity.Collections.FixedString64Bytes — No return description is available.

public readonly T Value

The actual data value.

Returns

{T} — No return description is available.

public readonly PlottableType Type

The inferred type of this value for scale selection.

Returns

ChartGuru.PlottableType — No return description is available.

PlottableValue(FixedString64Bytes, T, PlottableType)

Section titled “PlottableValue(FixedString64Bytes, T, PlottableType)”
public PlottableValue(FixedString64Bytes label, T value, PlottableType type)

No description is available for this member.

Parameters

Name Type Description
label Unity.Collections.FixedString64Bytes
value {T}
type ChartGuru.PlottableType
public PlottableValue(string label, T value, PlottableType type)

No description is available for this member.

Parameters

Name Type Description
label System.String
value {T}
type ChartGuru.PlottableType

public override string ToString()

No description is available for this member.

Returns

System.String — No return description is available.

public object BoxedValue { get; }

Gets the value as an object for non-generic usage.

Returns

System.Object — No return description is available.

public string LabelString { get; }

Gets the label as a string.

Returns

System.String — No return description is available.