Gets all rows from the data view as one asynchronous operation. The allRows function has a built in cache and can be called multiple times with the same dataView and it will return the same list of rows.
Optional
abortPredicate: AbortPredicateOptional. Predicate to determine whether the operation should be aborted when there is new, non-streaming, data available. If this predicate returns true the promise will be rejected. The default behavior is that reading will be aborted when new non-streaming update is available.
null if reading data was aborted, otherwise a DataViewRow[].
Gets metadata of all axes currently present in the DataView. Axes with empty expression are omitted.
Gets metadata for a specific categorical axis in the DataView. Categorical axes are defined in the manifest file as categorical or dual. When this method fails to return a valid axis getting the corresponding call to DataViewRow.categorical will throw an error. Returns null for axes with empty expressions or for dual mode axes that currently are in continuous mode. Throws if the axis does not exist or the axes mode is continuous.
The axis name.
Gets metadata for a specific continuous axis in the DataView. Continuous axes are defined in the manifest file as continuous or dual. When this method fails to return a valid axis getting the corresponding call to DataViewRow.continuous will throw an error. Returns null for axes with empty expressions or for dual mode axes that currently are in categorical mode. Throws if the axis does not exist or the axes mode is categorical.
The axis name.
Gets a hierarchy for a categorical axis.
If the axis has an empty expression the hierarchy will contain one single root node. Returns null for dual mode axes that currently are in continuous mode. Throws if the axis does not exist or the axes mode is continuous.
The name of the axis to get the hierarchy for.
Mark a set of rows. The full set will be the union of all mark operations performed within one transaction (see Mod.transaction). All mark operations must have the same marking operation.
The rows to be selected.
Optional
operation: MarkingOperationOptional MarkingOperation. Default value is Replace
.
Gets the marking information, or null if marking is not enabled.
Gets the total number of rows of the DataView without actually getting all the rows. Use this function to determine whether or not the mod will be able to handle the amount of data rows. When there are errors in the mod configuration there will be no rows available and this method will return undefined.
Represents a view of the data from which the visualization can be rendered.
This object contains the result of the query made by Spotfire against the DataTable currently used by the Mod Visualization, using the Filtering, Marking, expressions on the Axes and other relevant settings.