Skip to main content
Skip Navigation LinksHome  Extending the Spotfire Platform  Common Tasks and Idioms  Spotfire Visualization

©Spotfire 2011

Spotfire Visualization

Visualizations display particular views of the data. When a visualization is created, it is not configured to the data.

Overview

The visualization is essentially useless until it has been configured. There are two aspects to configuring the visualization: The data and the visual appearance.

Configured End User Applications

Configuring data

A visualization displays data from a single table. Select a data table for the visualization using the VisualizationData.DataTableReference property.

It is good practice to actively define a number of properties of the visualization.

Filtering and Marking

By default, the visualization displays the data based on the active filtering for the page. This is set using the VisualizationData.UseActiveFiltering property.

Marking is a common action in visualizations and is specified using the the VisualizationData.MarkingReference property. If it is not specified, marking will not be available to the end user.

Details Visualization

To turn the visualization into a Details Visualization, simply add the desired markings to the VisualizationData.Filterings collection.

Non-aggregated plot

To create a non-aggregated plot, typically a scatter plot or a parallell cordinate plot, each marker must correspond to one row in the dataset. This is specified by the baserowid() expression method.

Configuring Visual Appearance

The first decision concerning the visual appearance, relates to the user preferences for the selected visualization type. If these preferences should be applied, call ApplyUserPreferences() on the visualization.

Then override default and preference settings.

Note: Do not call the AutoConfigure() method.

Examples

The following code samples explain how to set up the generic Spotfire visualizations programmatically:

See also: