-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This Mod for Spotfire® can be used to add basic textual descriptions to dashboards and analyses from the Spotfire Web UI.
- From this repository Releases section, locate and download the .mod file.
- Drag the .mod file into an analysis in Spotfire® Analyst.
For information on how to use and share visualizations mods, read the Spotfire® documentation.
- From this repository Releases section, locate and download the source code.
- Build the project in your preferred code editor. Microsoft Visual Studio Code is highly recommended.
- Open an analysis in Spotfire® and select Tools > Development > Create visualization mod from the menubar to connect to the project.
For information on how to get started with visualization mod development, read the Spotfire® documentation.
Every mod handles missing, corrupted and/or inconsistent data in different ways. It is advised to always review how the data is visualized.
There are no data requirements since the Mod does not display any data from the analysis.
- Switch your analysis to Editing mode.
- Double click in the Mod.
- Type in any text. Use Markdown for basic formatting.
- Hit Save to commit your changes and display the text Cancel to ignore any change.
Simple formatting can be done using Markdown:
# Header 1
## Header 2
### Header 3
- List
- List
- Sublist
- Sublist
- List
- List
1. One
2. Two
3. Three
*Italic*
**Bold**
More advanced formatting can be done with inline HTML, E.g.
<table>
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
<tr>
<td>Cell 3</td>
<td>Cell 4</td>
</tr>
</table>
By default the text area will use the same style as the rest of Spotfire. E.g. it adapts to light and dark mode and you can change the font family, font size etc. by changing the general visualization font.
More advanced styling can be done with an inline CSS, E.g. the following will change all primary headers to red:
<style>
h1 {
color: red;
}
</style>
Vector drawings can be added using SVG:
<svg height="150" width="400">
<defs>
<linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" style="stop-color:rgb(255,255,0);stop-opacity:1" />
<stop offset="100%" style="stop-color:rgb(255,0,0);stop-opacity:1" />
</linearGradient>
</defs>
<ellipse cx="200" cy="70" rx="85" ry="55" fill="url(#grad1)" />
</svg>
Copyright (c) 2023 Cloud Software Group, Inc. All Rights Reserved.