LastX Property

The LastX property returns or sets the last X value to be used to calculate a fit. Returns a Double.

Syntax

object.LastX

object.LastX = LastX

 

Parameter Type Description
LastX Double required, last X value

 

Example 1

This example shows how to set the last X value for a fit curve.

FitLinear.LastX =25

 

Example 2

This example shows how to return the last X value for a fit curve.

Debug.Print FitLinear.LastX

 

Used by: AutoFitPlot object