ChartDataEntry
public class ChartDataEntrySerializable data point for inspector-based chart data entry.
Fields
Section titled “Fields”
public string LabelReturns
System.String
XValue
Section titled “XValue”public float XValueReturns
System.Single
HasExplicitX
Section titled “HasExplicitX”public bool HasExplicitXReturns
System.Boolean
public float ValueReturns
System.Single
Category
Section titled “Category”public string CategoryReturns
System.String
ColorOverride
Section titled “ColorOverride”public Color ColorOverrideReturns
UnityEngine.Color
Opacity
Section titled “Opacity”public float OpacityReturns
System.Single
public float XEndReturns
System.Single
YStart
Section titled “YStart”public float YStartReturns
System.Single
public float YEndReturns
System.Single
HasRangeData
Section titled “HasRangeData”public bool HasRangeDataReturns
System.Boolean
ZValue
Section titled “ZValue”public float ZValueReturns
System.Single
HasExplicitZ
Section titled “HasExplicitZ”public bool HasExplicitZReturns
System.Boolean
public float ZEndReturns
System.Single
public float SizeReturns
System.Single
HasSymbolSize
Section titled “HasSymbolSize”public bool HasSymbolSizeReturns
System.Boolean
Symbol
Section titled “Symbol”public SymbolShape SymbolReturns
ChartGuru.SymbolShape
SymbolKey
Section titled “SymbolKey”public string SymbolKeyReturns
System.String
SymbolRotation
Section titled “SymbolRotation”public float SymbolRotationReturns
System.Single
ClipShape
Section titled “ClipShape”public ClipShape ClipShapeReturns
ChartGuru.ClipShape
UseChartTypeOverride3D
Section titled “UseChartTypeOverride3D”public bool UseChartTypeOverride3DReturns
System.Boolean
ChartTypeOverride3D
Section titled “ChartTypeOverride3D”public ChartType ChartTypeOverride3DReturns
ChartGuru.ChartType
Constructors
Section titled “Constructors”
ChartDataEntry()
Section titled “ChartDataEntry()”public ChartDataEntry()
ChartDataEntry(string, float)
Section titled “ChartDataEntry(string, float)”public ChartDataEntry(string label, float value)Creates one labeled data entry whose value is plotted on the chart’s value axis.
Parameters
| Name | Type |
|---|---|
label |
System.String |
value |
System.Single |
ChartDataEntry(string, float, string)
Section titled “ChartDataEntry(string, float, string)”public ChartDataEntry(string label, float value, string category)Creates one labeled value assigned to the supplied grouping category for multi-series styling.
Parameters
| Name | Type |
|---|---|
label |
System.String |
value |
System.Single |
category |
System.String |
Methods
Section titled “Methods”
Clone()
Section titled “Clone()”public ChartDataEntry Clone()Copies all data and styling fields. Entries contain value types and immutable strings, so the clone can be edited independently.
Returns
ChartGuru.ChartDataEntry
Properties
Section titled “Properties”
XStart
Section titled “XStart”public float XStart { get; set; }Alias for XValue — matches Swift Charts RectangleMark(xStart:xEnd:yStart:yEnd:) naming.
Returns
System.Single