Sets the X value of the data point with the specified index.
Namespace:
Extreme.Mathematics.Curves
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public void SetXValue(
int index,
double newValue
)
Public Sub SetXValue (
index As Integer,
newValue As Double
)
public:
void SetXValue(
int index,
double newValue
)
member SetXValue :
index : int *
newValue : float -> unit
Parameters
- index
- Type: SystemInt32
A zero-based index. - newValue
- Type: SystemDouble
A real number.
This method lets you set the X-value of the data point with index index.
The new X-value must be such that the X values remain in ascending order. Otherwise, an
ArgumentException is thrown.
Reference