ManagedPlottableValue
public readonly struct ManagedPlottableValueManaged wrapper for PlottableValue that supports string categories directly. Use this for convenience API; it converts to native types internally for rendering. Swift Charts-style .Value() naming for consistency.
Fields
Section titled “Fields”
public readonly string LabelNo description is available for this member.
Returns
System.String — No return description is available.
BoxedValue
Section titled “BoxedValue”public readonly object BoxedValueNo description is available for this member.
Returns
System.Object — No return description is available.
public readonly PlottableType TypeNo description is available for this member.
Returns
ChartGuru.PlottableType — No return description is available.
Constructors
Section titled “Constructors”
ManagedPlottableValue(string, object, PlottableType)
Section titled “ManagedPlottableValue(string, object, PlottableType)”public ManagedPlottableValue(string label, object value, PlottableType type)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | |
value |
System.Object | |
type |
ChartGuru.PlottableType |
Methods
Section titled “Methods”
Value(string, float)
Section titled “Value(string, float)”public static ManagedPlottableValue Value(string label, float data)Creates a quantitative float value. Swift Charts equivalent: .Value(“Label”, floatValue)
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | |
data |
System.Single |
Returns
ChartGuru.ManagedPlottableValue — No return description is available.
Value(string, double)
Section titled “Value(string, double)”public static ManagedPlottableValue Value(string label, double data)Creates a quantitative double value. Swift Charts equivalent: .Value(“Label”, doubleValue)
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | |
data |
System.Double |
Returns
ChartGuru.ManagedPlottableValue — No return description is available.
Value(string, int)
Section titled “Value(string, int)”public static ManagedPlottableValue Value(string label, int data)Creates a quantitative int value. Swift Charts equivalent: .Value(“Label”, intValue)
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | |
data |
System.Int32 |
Returns
ChartGuru.ManagedPlottableValue — No return description is available.
Value(string, string)
Section titled “Value(string, string)”public static ManagedPlottableValue Value(string label, string category)Creates a categorical string value. Swift Charts equivalent: .Value(“Label”, stringCategory)
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | |
category |
System.String |
Returns
ChartGuru.ManagedPlottableValue — No return description is available.
Value(string, DateTime)
Section titled “Value(string, DateTime)”public static ManagedPlottableValue Value(string label, DateTime data)Creates a temporal DateTime value. Swift Charts equivalent: .Value(“Label”, dateValue)
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | |
data |
System.DateTime |
Returns
ChartGuru.ManagedPlottableValue — No return description is available.
Value(string, TEnum)
Section titled “Value(string, TEnum)”public static ManagedPlottableValue Value<TEnum>(string label, TEnum data) where TEnum : EnumCreates a categorical enum value. Swift Charts equivalent: .Value(“Label”, enumValue)
Parameters
| Name | Type | Description |
|---|---|---|
label |
System.String | |
data |
{TEnum} |
Returns
ChartGuru.ManagedPlottableValue — No return description is available.
GetNumericValue()
Section titled “GetNumericValue()”public float GetNumericValue()Gets the numeric value for quantitative data, or hash code for categorical.
Returns
System.Single — No return description is available.
GetCategoryString()
Section titled “GetCategoryString()”public string GetCategoryString()Gets the string representation for categorical data or labels.
Returns
System.String — No return description is available.
ToString()
Section titled “ToString()”public override string ToString()No description is available for this member.
Returns
System.String — No return description is available.