API Documentation
Index
Interfaces
- Analysis
Property - Analysis
Property Value - Axis
- Axis
Part - Axis
Values - Column
- Column
Values - Context
Menu - Context
Menu Item - Controls
- Data
Table - Data
Table Values - Data
Type - Data
View - Data
View Axis - Data
View Categorical Axis - Data
View Categorical Value - Data
View Categorical Value Path Element - Data
View Color Info - Data
View Continuous Axis - Data
View Continuous Value - Data
View Hierarchy - Data
View Hierarchy Level - Data
View Hierarchy Node - Data
View Proxy Methods - Data
View Row - Error
Overlay - Font
Info - General
Styling Info - Line
Styling Info - Marking
Info - Mod
- Mod
Metadata - Mod
Property - Mod
Property Value - Mod
Visualization - Page
- Page
Values - Popout
- Popout
Button Options - Popout
Checkbox Options - Popout
Component - Popout
Component Event - Popout
Component Factory - Popout
Dialog - Popout
Options - Popout
Radio Button Options - Popout
Section - Popout
Section Options - Progress
- Readable
- Reader
- Reader
Subscription - Render
Context - Scale
Styling Info - Size
- Spotfire
Document - Styling
Info - Tick
Styling Info - Time
- Time
Span - Tooltip
Type aliases
Functions
Type aliases
Abort Predicate
Type declaration
Parameters
currentRowCount: number
Returns boolean
Analysis Property Data Type
Represents the data types possible to store in a document, table or column AnalysisProperty.
Data View Proxy
Represents an object that provides access to a DataView.
Data View Value Type
Represents the type of a DataView value. The actual type that a given value has depends on the type of the expression on the associated axis.
Extract Value Type
From readableArray, an array of Readable of some value type, extract an array of this value type.
Type parameters
readableArray: ReadonlyArray<Readable<any>>
Marking Operation
Specifies how a Marking shall be modified.
- "Replace" - replaces the current marking. - "Add" - adds to the current marking. - "Subtract" - removes the current marking. - "Toggle" - toggles marking on each item in the set. - "Intersect" - marks the intersection of the current marking and the specified set. - "ToggleOrAdd" - will behave like toggle if all or no rows in the set are marked, otherwise it is an add operation. This is the default Spotfire behavior for control marking.
Method Keys
Extract from T the keys of all properties with function values.
Type parameters
T
Mod Property Data Type
Represents the data types possible to store in a mod ModProperty.
Omitted Readable Proxy Methods
Represents methods that are not available on a ReadableProxy. To access these methods the ReadableProxy must be awaited.
On Load Callback
Type declaration
Represents a function that consumes the Mod API. See initialize.
Parameters
mod: Mod
Returns void | Promise<void>
Readable Proxy
Represents an object that provides access to a node of the specified type. It can be used as a Readable but also acts as a proxy to the node by exposing all its methods. Nodes that represent model state in the Spotfire document can thus be modified without first waiting and materializing them in the browser.
A full node will be created by using a Reader.
Type parameters
Node
Union From Tuple Types
Extract all possible types in a Tuple type.
Type parameters
T: readonly any[]
U = never
Functions
initialize
Initializes the Mod API. The specified
onLoaded
callback is called when the initialization is complete.Parameters
onLoaded: OnLoadCallback
Callback that is called when the mod API is initialized and ready to be interacted with.
Returns void
Predicate to determine if a current read operation for DataView.allRows should be aborted when there is new, non-streaming, data available. If this predicate returns true the DataView.allRows promise will be rejected and no rows will be returned.