Table of Contents

Class XYTable

Namespace
TimeSeriesAnalysis.Utility
Assembly
TimeSeriesAnalysis.dll

Holds a "table" of x-y value pairs

public class XYTable
Inheritance
XYTable
Inherited Members

Constructors

XYTable(string, List<string>, XYlineType)

Constructor for XYTable

public XYTable(string tableName, List<string> columnNames, XYlineType type = XYlineType.withMarkers)

Parameters

tableName string
columnNames List<string>
type XYlineType

Methods

AddRow(double[], string)

Add a row to the table

public void AddRow(double[] rowValues, string rowName = "")

Parameters

rowValues double[]
rowName string

GetLineType()

Returns the type of the line

public XYlineType GetLineType()

Returns

XYlineType

GetName()

Get the name of the table

public string GetName()

Returns

string

ToCSV(string, string)

Write table to a csv-file

public void ToCSV(string fileName, string CSVseparator = ",")

Parameters

fileName string

csv file name

CSVseparator string

optioanlly choose the seprator of the csv-file