ChartDataTableColumn
public sealed class ChartDataTableColumnOne typed column of a ChartDataTable; cells are kept as invariant text.
Constructors
Section titled “Constructors”
ChartDataTableColumn()
Section titled “ChartDataTableColumn()”public ChartDataTableColumn()
ChartDataTableColumn(string, ChartColumnType, IEnumerable)
Section titled “ChartDataTableColumn(string, ChartColumnType, IEnumerable)”public ChartDataTableColumn(string name, ChartColumnType type, IEnumerable<string> values = null)Creates a typed column with its initial invariant-text cells; a null name or cell collection creates an empty one.
Parameters
| Name | Type |
|---|---|
name |
System.String |
type |
ChartGuru.ChartColumnType |
values |
System.Collections.Generic.IEnumerable{System.String} |
Methods
Section titled “Methods”
GetCell(int)
Section titled “GetCell(int)”public string GetCell(int row)Returns the cell text, or an empty string past the end of the column.
Parameters
| Name | Type |
|---|---|
row |
System.Int32 |
Returns
System.String
SetCell(int, string)
Section titled “SetCell(int, string)”public void SetCell(int row, string value)Writes a cell, growing the column when needed.
Parameters
| Name | Type |
|---|---|
row |
System.Int32 |
value |
System.String |
Clone()
Section titled “Clone()”public ChartDataTableColumn Clone()Returns a deep copy.
Returns
ChartGuru.ChartDataTableColumn
Properties
Section titled “Properties”
public string Name { get; set; }Returns
System.String
public ChartColumnType Type { get; set; }Returns
ChartGuru.ChartColumnType
Values
Section titled “Values”public IReadOnlyList<string> Values { get; }Returns
System.Collections.Generic.IReadOnlyList{System.String}