FittingModelCollection Methods

Spotfire 14.3 API Reference

The FittingModelCollection type exposes the following members.

Methods

  NameDescription
Public methodAddColumnValuesLine
Adds a line or multiline. The points of the line are defined from the values of a pair of columns.
Public methodCode exampleAddCurve(String)
Adds a curve. The curve is defined by the specified expression, for example "5.0*sin(x) + 2.5".
Public methodCode exampleAddCurve(DataTable, String)
Adds a curve. The curve is defined by the specified expression, for example "a + b*x", where a and b are columns in the specified data table.
Public methodCode exampleAddForecastHoltWinters
Adds a Holt Winters forecast with default settings to the collection.
Public methodCode exampleAddHorizontalLine(String)
Adds a horizontal reference line. The position of the line is defined by the specified expression, for example "Avg(y)" or "1000.0".
Public methodCode exampleAddHorizontalLine(DataTable, String)
Adds a horizontal reference line. The position of the line is defined by the expression, for example "Avg(y)". The expression is evaluated using the columns in the specified data table.
Public methodCode exampleAddNew(Type)
Adds a new fitting model of the specified type.
Public methodCode exampleAddNew(TypeIdentifier)
Adds a new fitting model. The type identifiers for the built-in fitting models are defined in FittingModelTypeIdentifiers.
Public methodCode exampleAddNewT
Adds a new fitting model of the specified type.
Public methodAddStraightLineFit
Adds a straight line that minimizes the sum-of-squares of the y-distances between the data and the line.
Public methodCode exampleAddVerticalLine(String)
Adds a vertical reference line. The position of the line is defined by the expression, for example "Avg(x)" or "1000.0".
Public methodCode exampleAddVerticalLine(DataTable, String)
Adds a vertical reference line. The position of the line is defined by the expression which is evaluated using the columns in the specified data table.
Public methodClear
Removes all fitting models from this collection.
Public methodContains
Determines whether the specified value is in this collection.
(Inherited from DocumentNodeListBaseT.)
Public methodGetEnumerator
Returns an enumerator that iterates through this collection.
(Inherited from DocumentNodeListBaseT.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified value and returns the zero-based index of the first occurrence within this collection.
(Inherited from DocumentNodeListBaseT.)
Public methodRemove
Removes the specified fitting model from this collection.
Public methodToArray
Copies the elements of the collection to a new array.
(Inherited from DocumentNodeListBaseT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from DocumentNodeListBaseT.)
Explicit interface implementationPrivate methodINodeContextGetAncestorT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextGetServiceT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextIsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsBeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction2
Implements ExecuteInvisibleTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction2
Implements ExecuteStickyTransaction(Guid, Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction2
Implements ExecuteTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Top
See Also

Reference