Constructor
new SpotfireTrellis(trellisDescription)
Parameters:
Name | Type | Description |
---|---|---|
trellisDescription
|
TrellisDescription ▼ | |
trellisMode
|
SpotfireTrellisModes ▼ | 'Rows and columns': splits the visualization into different
panels for all categories in the selected column or hierarchy. The number of values in the specified column or
hierarchy controls the number of panels to be displayed in each row, column, or page, respectively.
|
rowsColumns
|
String | |
panels
|
String | |
rowAxis
|
trellisAxisDescription ▼ | A row with trellis panels will be created for each value in the column or hierarchy. |
hierarchyOption
|
SpotfireTrellisAxisHierarchyOptions ▼ | [For hierarchical categories only, but not available for Date, Time or DateTime hierarchies.] 'Use actual combinations in data only (nest)': to display all combinations available in the data; 'Use all possible combinations (cross)': to display all possible combinations, even showing categories that are currently not included in the data. |
nest
|
String | |
cross
|
String | |
columnAxis
|
trellisAxisDescription ▼ | A column with trellis panels will be created for each value in the column or hierarchy. |
hierarchyOption
|
SpotfireTrellisAxisHierarchyOptions ▼ | [For hierarchical categories only, but not available for Date, Time or DateTime hierarchies.] 'Use actual combinations in data only (nest)': to display all combinations available in the data; 'Use all possible combinations (cross)': to display all possible combinations, even showing categories that are currently not included in the data. |
nest
|
String | |
cross
|
String | |
pageAxis
|
trellisAxisDescription ▼ | A new page with trellis panels will be created for each value in the column or hierarchy. |
hierarchyOption
|
SpotfireTrellisAxisHierarchyOptions ▼ | [For hierarchical categories only, but not available for Date, Time or DateTime hierarchies.] 'Use actual combinations in data only (nest)': to display all combinations available in the data; 'Use all possible combinations (cross)': to display all possible combinations, even showing categories that are currently not included in the data. |
nest
|
String | |
cross
|
String | |
panelAxis
|
trellisAxisDescription ▼ | Specifies the column or hierarchy to define the categories by which the visualization should be split. |
hierarchyOption
|
SpotfireTrellisAxisHierarchyOptions ▼ | [For hierarchical categories only, but not available for Date, Time or DateTime hierarchies.] 'Use actual combinations in data only (nest)': to display all combinations available in the data; 'Use all possible combinations (cross)': to display all possible combinations, even showing categories that are currently not included in the data. |
nest
|
String | |
cross
|
String | |
manualLayout
|
Boolean | To manually specify the number of rows and columns that should be visible without scrolling. |
maxNumberOfRows
|
Number | Specifies the maximum number of panels that should be visible on each page. |
maxNumberOfColumns
|
Number | Specifies the maximum number of panels that should be visible on each page. |