Constructor
new SpotfireTrellis(trellisDescription)
Parameters:
Name | Type | Description |
---|---|---|
trellisDescription
|
Object | |
trellisMode
|
String | '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.
'Panels': splits the visualization into different panels for all categories in the selected column or hierarchy,
without binding any dimensions to either rows or columns. This means that the number of actual values in the
column to split by does not control the number of shown rows or columns in any way. Available in the |
rowAxis
|
SpotfireTrellisAxis | A row with trellis panels will be created for each value in the column or hierarchy. |
columnAxis
|
TrellisAxisDescription | A column with trellis panels will be created for each value in the column or hierarchy. |
pageAxis
|
SpotfireTrellisAxis | A new page with trellis panels will be created for each value in the column or hierarchy. |
panelAxis
|
SpotfireTrellisAxis | Specifies the column or hierarchy to define the categories by which the visualization should be split. |
manualLayout
|
Boolean | [Available for 'Panels' only.] To manually specify the number of rows and columns that should be visible without scrolling. |
maxNumberOfRows
|
Number | [Available for 'Panels' only.] Specifies the maximum number of panels that should be visible on each page. |
maxNumberOfColumns
|
Number | [Available for 'Panels' only.] Specifies the maximum number of panels that should be visible on each page. |