Displaying Images and Links as Labels , Tooltips , and Column values


Starting in version 3.3 of TIBCO Spotfire, Map Charts and Scatter Plots now have the capability to use images in labels and tooltips, as well as inside a column cell (Spotfire already supported virtual columns rendering blobs and images using  either the TIBCO Spotfire for Lead Discovery product or the SDK, but now this feature is supported out of the box).

.

For example, if you want to add images as labels to a Scatter Plot, you would goto the Properties dialog of the plot, and in the Labels section, choose to show the label as an ‘Image from URL’. You then need to define a column which contains the necessary information to point to the URL.


You can either have the column values be the entire URL or just the filename and then use the ‘Settings’ option to specify the URL string to use.


 

Once you have done this, your plot will now show the images as labels and will allow you to move the labels around the screen for better placement.



 
In addition to images, labels can also be hyperlinks by setting the 'Show As' option to a 'Link'.

Tooltips

Similar to labels, you can now setups tooltips to display images.
 
 


Columns

Finally, you can also choose to display an image in a column inside of a Table visualization. To do this, when you specify the Columns to include in the table (from the Table’s Properties dialog), you can use the ‘Renderer’ option and set it to   ‘Image from URL’. You have the same options for setting the URL to retrieve the image as you do for the labels and tooltips.


 

 

One very cool example, shown to us by one of our Product Managers (Greg G), is to connect to Google Charts to retrieve and display a sparkline for each row.


 

Labels for interactive shapes
One other related update in 3.3 includes labels for interactive shapes in Map Charts. Map Charts already support labels in previous versions, but only when the chart was configured to be either in map with markers or background image mode. From version 3.3, labels are now supported in the interactive shape mode.

To define the labels, the user must specify a column to pick the labels from. The label column and the coloring column must be from the same data table. Since placement is important, the labels can be moved around manual and then saved by right clicking and selecting ‘Edit Label Positions’.