The Text Card product for the TIBCO Spotfire® environment is an extension used to visualize text data in an efficient and esthetical way, often alongside other data visualizations.
Project for Software innovation course at Gothenburg University and TIBCO Spotfire®
Visit the project's website for a user guide of the Text Card mod.
To run (and modify) the Text Card mod locally, please follow these steps:
These instructions assume that you have Node.js (which includes npm) installed.
- Open a terminal at the location of the downloaded/cloned Text Card mod repository.
- Run
npm install
. This will install necessary tools. Run this command only the first time you are building the mod and skip this step for any subsequent builds. - Run
npm run server
. This will start a development server. - Start editing, for example
src/main.js
. - In Spotfire®, follow the steps of creating a new mod and connecting to the development server.
The text card mod is created inside a sandboxed iframe within the Spotfire® environment. It communicates solely with the Spotfire® API. More information can be found in the Spotfire® Mods documentation.
The code is split in three files roughly according to the tasks.
The text card mod uses the following styling elements supplied by the Spotfire® Mods API:
- general.font: Annotation and content font styling, text-card-border mouse-over line, buttons and scrollbars adapt to it (using different opacity levels)
- scales.line.stroke: Box shadow of text card
- scales.tick.stroke: Seperation line between annotation and content (thin_hr), seperation line between annotations
- Hartmut Fischer - Project owner - HarFis
- Karl Westgårdh - Project owner - Synoecism
- Jonatan Vaara - Project owner - JonatanVaara
- Alexander Strand - Project owner - strand93
- Emanuel Dellsen - Project owner - EmanuelDellsen
Thanks to the team at TIBCO Spotfire® for all the support in the development of this extension as well as for developing the environment in which this extension has been constructed and to our academic supervisor Miroslaw Staron from Gothenburg University.
This project is licensed under the MIT License.