Void LineChart2D.SetIndependentVariable(Dataset2D param1)

Sets the Dataset2D object chosen as the Independent Variable of the Chart. Chart data are constructed using the chosen Dataset2D's Y-values as the Independent Variable and the Y-values from the other datasets as the Dependent Variable. Only Y-values at intersecting X-values from the datasets are picked; no interpolation is performed for missing X-values. An input of "None" returns the chart to its original state. If any dataset contains negative values that conflict with the Logarithmic setting of a chart axis, then Logarithmic for that axis is disabled. An InvalidOperationException is thrown if any Dataset on the Chart is not strictly monotonic. An ArgumentException is thrown if the chosen Independent Variable is not a Dataset on the Chart.

Parameters