ChartDataRow
public readonly struct ChartDataRowZero-copy typed view of one row in an immutable ChartDataFrame.
Methods
Section titled “Methods”
IsValid(string)
Section titled “IsValid(string)”public bool IsValid(string columnName)Reports whether the named column contains a valid value in this row.
Parameters
| Name | Type |
|---|---|
columnName | System.String |
Returns
System.Boolean
GetDisplayValue(string)
Section titled “GetDisplayValue(string)”public string GetDisplayValue(string columnName)Gets the named value as display text, returning empty text for missing data.
Parameters
| Name | Type |
|---|---|
columnName | System.String |
Returns
System.String
TryGetDouble(string, out double)
Section titled “TryGetDouble(string, out double)”public bool TryGetDouble(string columnName, out double value)Attempts to read the named row value as a finite double through its column conversion, like ChartDataColumn.TryGetDouble(int, out double).
Parameters
| Name | Type |
|---|---|
columnName | System.String |
value | System.Double |
Returns
System.Boolean
Get(string)
Section titled “Get(string)”public T Get<T>(string columnName)Gets the named typed value, throwing when the column type differs or this row has no valid value.
Parameters
| Name | Type |
|---|---|
columnName | System.String |
Returns
{T}
Properties
Section titled “Properties”
RowIndex
Section titled “RowIndex”public int RowIndex { get; }Returns
System.Int32
this[string]
Section titled “this[string]”public object this[string columnName] { get; }Parameters
| Name | Type |
|---|---|
columnName | System.String |
Returns
System.Object