Search Results

Positioning markers on an image background

The background of the markers in a map chart does not have to be geographical; you can position markers on any spatial background. You can, as the background to the markers, simply use an image layer instead of a map layer. To exemplify, your image in the image layer can represent a human body, where you place markers showing medical data, or a drawing of a hotel, where the room occupancy or other data is displayed. To position markers on top of an image layer requires that your data contains appropriate X and Y coordinates.

Example

The data table below contains weather data at a certain location during August. The weather types are Sun, Partly clouded, and Showers.


Data table

Assume you want to use the image below to illustrate the weather types, and, below the illustrations, place markers that indicate the total number of sunny, partly clouded, and rainy days, respectively.


Background image

The following explains how you place the markers where you want them on the image. The key is to let the image and markers use a common coordinate reference system.

To do so, imagine a coordinate system on top of the image as shown below. You can specify any X and Y ranges provided that the same scale is used on both axes. In this imagined coordinate system, the X values range from 0 to 10, and the Y values from 0 to 5.


Coordinate reference system on top of image

Then use this imagined coordinate system to assign coordinates to your marker positions, and add them as X- and Y columns to the data table. The 'Sun' marker is placed at (1.5,1), the 'Partly clouded' marker at (5,1) and the 'Showers' marker at (8.3,1).


Data table containing coordinates

Now all is set for creating the map chart, where markers are positioned on top of an image.

Procedure

  1. Load the data table, and create a map chart.
  2. Right-click the map chart, and select Properties.

    The current layers and the Properties popover are displayed.

  3. In the list of layers, remove the Map Layer by placing the mouse pointer on it, and click X.

    Remove Map Layer
  4. Click Add new layer, and select Image layer.
    The Properties popover displays the Image Layer settings.
  5. In the Image section, via Browse, add the image you want to use as background.
  6. In the Add image as background dialog, click Yes to set the coordinate reference systems to None.
  7. Open the Positioning section in the Properties - Image Layer.
  8. Beneath Position settings, enter the max and min of the X- and Y values that are used to specify the imagined coordinate reference system, that is, the coordinate reference system in which the markers' coordinates are set.


  9. In the navigation control of the map chart, click Zoom to filtered items, if needed.


Result

The result is shown below. In addition to the steps above, the labels and sizes of the markers are set to Count(Weather).


Using a different version of Spotfire?
This help describes the web client version of Spotfire on TIBCO Cloud™. If you're looking for documentation for the installed client or other versions of Spotfire, visit the TIBCO Documentation Portal.

There you can find help for your version of Spotfire Analyst or Spotfire Business Author.