Chart Variable enables user to create a list of values that can be used to construct a dataset object.
Declaration Syntax
public class ChartVariable : IVariable, IReadOnlyList<double>, IReadOnlyCollection<double>, IEnumerable<double>, IEnumerable
Table 68: Members
Constructor | ChartVariable(IDataSeries) |
Construct a ChartVariable object using an existing IDataseries. |
Constructor | ChartVariable(IEnumerable<object>, string, string) |
Construct a ChartVariable using an untyped IEnumerable. Any values that can be converted to doubles will be accepted. The quantity_name and unit parameters are optional and default to Dimensionless and a blank string respectively. If any value in the enumerable cannot be converted to double, then an ArgumentException will be thrown. |