Class XYTable
Holds a "table" of x-y value pairs
Inherited Members
Namespace: TimeSeriesAnalysis.Utility
Assembly: TimeSeriesAnalysis.dll
Syntax
public class XYTable
Constructors
| Edit this page View SourceXYTable(string, List<string>, XYlineType)
Constructor for XYTable
Declaration
public XYTable(string tableName, List<string> columnNames, XYlineType type = XYlineType.withMarkers)
Parameters
Type | Name | Description |
---|---|---|
string | tableName | |
List<string> | columnNames | |
XYlineType | type |
Methods
| Edit this page View SourceAddRow(double[], string)
Add a row to the table
Declaration
public void AddRow(double[] rowValues, string rowName = "")
Parameters
Type | Name | Description |
---|---|---|
double[] | rowValues | |
string | rowName |
GetLineType()
Returns the type of the line
Declaration
public XYlineType GetLineType()
Returns
Type | Description |
---|---|
XYlineType |
GetName()
Get the name of the table
Declaration
public string GetName()
Returns
Type | Description |
---|---|
string |
ToCSV(string, string)
Write table to a csv-file
Declaration
public void ToCSV(string fileName, string CSVseparator = ",")
Parameters
Type | Name | Description |
---|---|---|
string | fileName | csv file name |
string | CSVseparator | optioanlly choose the seprator of the csv-file |