PlottableValue<T>
public readonly struct PlottableValue<T> where T : unmanagedA 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.
Fields
Section titled “Fields”
public readonly FixedString64Bytes LabelHuman-readable label for this Value (appears on axes, tooltips).
Returns
Unity.Collections.FixedString64Bytes
public readonly T ValueThe actual data value.
Returns
{T}
public readonly PlottableType TypeThe inferred type of this value for scale selection.
Returns
ChartGuru.PlottableType
Constructors
Section titled “Constructors”
PlottableValue(FixedString64Bytes, T, PlottableType)
Section titled “PlottableValue(FixedString64Bytes, T, PlottableType)”public PlottableValue(FixedString64Bytes label, T value, PlottableType type)Creates a Burst-compatible labeled value with an explicit scale-classification hint.
Parameters
| Name | Type |
|---|---|
label |
Unity.Collections.FixedString64Bytes |
value |
{T} |
type |
ChartGuru.PlottableType |
PlottableValue(string, T, PlottableType)
Section titled “PlottableValue(string, T, PlottableType)”public PlottableValue(string label, T value, PlottableType type)Creates a Burst-compatible labeled value, copying the label into fixed 64-byte storage.
Parameters
| Name | Type |
|---|---|
label |
System.String |
value |
{T} |
type |
ChartGuru.PlottableType |
Methods
Section titled “Methods”
ToString()
Section titled “ToString()”public override string ToString()Returns
System.String
Properties
Section titled “Properties”
BoxedValue
Section titled “BoxedValue”public object BoxedValue { get; }Gets the value as an object for non-generic usage.
Returns
System.Object
LabelString
Section titled “LabelString”public string LabelString { get; }Gets the label as a string.
Returns
System.String