ChartDataSourceAsset.Entry
public struct ChartDataSourceAsset.EntryOne labelled value inside a series.
Fields
Section titled “Fields”
[Tooltip("Category label for this entry. Drives the X-axis on cartesian charts and slice labels on pie/donut.")]public string LabelReturns
System.String
[Tooltip("Primary Value (Y on cartesian charts; magnitude on pie/donut/radar).")]public float ValueReturns
System.Single
ColorOverride
Section titled “ColorOverride”[Tooltip("Optional per-entry colour. Leave fully transparent (alpha = 0) to use the series colour or theme.")]public Color ColorOverrideReturns
UnityEngine.Color
Constructors
Section titled “Constructors”
Entry(string, float)
Section titled “Entry(string, float)”public Entry(string label, float value)Creates a labelled series value that inherits its color from the series or active theme.
Parameters
| Name | Type |
|---|---|
label |
System.String |
value |
System.Single |
Entry(string, float, Color)
Section titled “Entry(string, float, Color)”public Entry(string label, float value, Color colorOverride)Creates a labelled series value with an explicit per-entry color override.
Parameters
| Name | Type |
|---|---|
label |
System.String |
value |
System.Single |
colorOverride |
UnityEngine.Color |