Dataset2D

A class to reference the dataset object. A dataset object is regarded as pure mathematical data containing X and Y values.

Declaration Syntax

public class Dataset2D

Table 74: Members

Constructor

Dataset2D(ChartVariable, ChartVariable)

Constructs a Dataset2D using ChartVariable for its x and y values.

Constructor

Dataset2D(IEnumerable<object>, IEnumerable<object>)

In place constructs ChartVariable using the untyped IEnumerable values and then constructs the Dataset2D. Any values that can be converted to doubles will be accepted. If any object in the enumerable cannot be converted to double, then an ArgumentException will be thrown.

Property

XAxisVals

Gets the X axis variable for the dataset.

Property

YAxisVals

Gets the Y axis variable for the dataset.