Class

SpotfireColoringTable

SpotfireColoringTable(coloringDefinition)

Represents the coloring for the visualizations Table Plot and Cross Table.

Constructor

new SpotfireColoringTable(coloringDefinition)

Parameters:
Name Type Description
coloringDefinition coloringTableDefinition
name String

The name of the color scheme grouping

templateUrl String

The url of the file that contains the color rules template to apply for this coloring.

templateLibraryPath String
oneScalePer SpotfireOneScalePer  {Enum} 

Set the one scale paremeter. You can choose value in SpotfireOneScalePer enum like implementation

Enum options: column, trellis
applyTo SpotfireApplyTo  {Enum} 
Enum options: background, text
mappings Array.<String>

Collection of column names where to apply coloring (used by table plot)

colorRules Array.<SpotfireColoringRules>

Array of coloring rules definition.