How does Spotfire determine what font color to use?

How does Spotfire determine what font color to use?

book

Article ID: KB0079074

calendar_today

Updated On:

Products Versions
Spotfire Analyst All supported versions

Description

When creating a visualization such as a KPI chart, Spotfire must determine whether the text should be white or black to produce the best visual contrast.

Environment

Product: TIBCO Spotfire (Desktop client / Analyst) Version: All supported versions OS: All supported Operating Systems

Resolution

In general dark colors will have white text, while lighter colors will have black text.  This link provides more information about the algorithm used.
 

Issue/Introduction

Several visualizations, like the KPI chart, have a solid background. Text labels are white or black, depending on the background color.

Additional Information

For users who want more control over visualizations there is a popular suggestion in the Ideas Portal.