Properties
- version stringRequired
Current version of this generic object definition
- qHyperCubeDef objectRequired
Extends HyperCubeDef, see Engine API: HyperCubeDef
qHyperCubeDef properties
- qDimensions Array< DimensionProperties >Required
The maximum amount of dimensions is 1000
- qMeasures Array< MeasureProperties >Required
The maximum amount of measures is 1000
- qColumnOrder Array< number >Required
-
- showTitles boolean
Show title for the visualization
- enableChartExploration boolean
Show chart exploration option in context menu
- title string | StringExpression
Visualization title
- subtitle string | StringExpression
Visualization subtitle
- footnote string | StringExpression
Visualization footnote
- totals object
totals settings
totals properties
- show boolean
If set to true, the display of the totals row will be handled automatically, and the
position
prop will be ignored. - position 'top' | 'bottom' | 'noTotals'
The position of the totals row, hiding it if set to
noTotals
- label string
The label of the totals row, shown in the leftmost column
-
- usePagination boolean
Use pagination or continuous scroll. If undefined, defaults to using pagination
- components Array< Component >Required
Holds general styling
Extends NxDimension
, see Engine API: NxDimension
Properties
- qDef InlineDimensionDefRequired
qDef properties
- textAlign TextAlign
textAlign properties
- auto booleanRequired
If true, sets the alignment based on the type of column (left for dimension, right for measure)
- align 'left' | 'center' | 'right'Required
Is used (and mandatory) if
auto
is false
-
- columnWidth ColumnWidth
columnWidth properties
- type 'auto' | 'FitToContent' | 'pixels' | 'percentage'Required
Defines how the column width is set.
auto
calculates the width(s) so the total table width equals the chart width.fitToContent
calculates a width based on the cells' content.pixels
uses a specified pixel value.percentage
sets the column width to specified percentage of the chart width - pixels number
Is used (and mandatory) if type is
pixels
- percentage number
Is used (and mandatory) if type is
percentage
-
-
- qAttributeExpressions Array< AttributeExpressionProperties >Required
Extends NxMeasure
, see Engine API: NxMeasure
Properties
- qDef InlineMeasureDefRequired
qDef properties
- textAlign TextAlign
textAlign properties
- auto booleanRequired
If true, sets the alignment based on the type of column (left for dimension, right for measure)
- align 'left' | 'center' | 'right'Required
Is used (and mandatory) if
auto
is false
-
- columnWidth ColumnWidth
columnWidth properties
- type 'auto' | 'FitToContent' | 'pixels' | 'percentage'Required
Defines how the column width is set.
auto
calculates the width(s) so the total table width equals the chart width.fitToContent
calculates a width based on the cells' content.pixels
uses a specified pixel value.percentage
sets the column width to specified percentage of the chart width - pixels number
Is used (and mandatory) if type is
pixels
- percentage number
Is used (and mandatory) if type is
percentage
-
-
- qAttributeExpressions Array< AttributeExpressionProperties >Required
Extends NxInlineDimensionDef
, see Engine API: NxInlineDimensionDef
.
Properties
- textAlign TextAlign
textAlign properties
- auto booleanRequired
If true, sets the alignment based on the type of column (left for dimension, right for measure)
- align 'left' | 'center' | 'right'Required
Is used (and mandatory) if
auto
is false
-
- columnWidth ColumnWidth
columnWidth properties
- type 'auto' | 'FitToContent' | 'pixels' | 'percentage'Required
Defines how the column width is set.
auto
calculates the width(s) so the total table width equals the chart width.fitToContent
calculates a width based on the cells' content.pixels
uses a specified pixel value.percentage
sets the column width to specified percentage of the chart width - pixels number
Is used (and mandatory) if type is
pixels
- percentage number
Is used (and mandatory) if type is
percentage
-
Extends NxInlineMeasureDef
, see Engine API: NxInlineMeasureDef
.
Properties
- textAlign TextAlign
textAlign properties
- auto booleanRequired
If true, sets the alignment based on the type of column (left for dimension, right for measure)
- align 'left' | 'center' | 'right'Required
Is used (and mandatory) if
auto
is false
-
- columnWidth ColumnWidth
columnWidth properties
- type 'auto' | 'FitToContent' | 'pixels' | 'percentage'Required
Defines how the column width is set.
auto
calculates the width(s) so the total table width equals the chart width.fitToContent
calculates a width based on the cells' content.pixels
uses a specified pixel value.percentage
sets the column width to specified percentage of the chart width - pixels number
Is used (and mandatory) if type is
pixels
- percentage number
Is used (and mandatory) if type is
percentage
-
Extends NxAttrExprDef
, see Engine API: NxAttrExprDef
.
Column specific styling overrides general styling, that is defined in components
.
Properties
- id 'cellForegroundColor' | 'cellBackgroundColor' | 'textStyleExpression'Required
specifying what the style applies to
Holds text alignment for a specific column.
Properties
- auto booleanRequired
If true, sets the alignment based on the type of column (left for dimension, right for measure)
- align 'left' | 'center' | 'right'Required
Is used (and mandatory) if
auto
is false
Column width info
Properties
- type 'auto' | 'FitToContent' | 'pixels' | 'percentage'Required
Defines how the column width is set.
auto
calculates the width(s) so the total table width equals the chart width.fitToContent
calculates a width based on the cells' content.pixels
uses a specified pixel value.percentage
sets the column width to specified percentage of the chart width - pixels number
Is used (and mandatory) if type is
pixels
- percentage number
Is used (and mandatory) if type is
percentage
General styling for all columns. Split up into header and content (body) styling. If any property is not set, default values specific for each property is used.
Properties
- key stringRequired
This should be set to
theme
- content ContentStyling
content properties
- fontSize number
Defaults to
14
- fontColor PaletteColor
Defaults to
#404040
fontColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- hoverEffect boolean
Toggles hover effect
- hoverColor PaletteColor
Background hover color. Uses
#f4f4f4
if no hover colors are set, is transparent if onlyhoverFontColor
is set - hoverFontColor PaletteColor
When only
hoverColor
is set, this is adjusted to either#f4f4f4
or#ffffff
for optimal contrast - padding string
Css setting for the cell padding, defaults to
4px 12px
-
- header HeaderStyling
header properties
- fontSize number
Defaults to
14
- fontColor PaletteColor
Defaults to
#404040
-
Holds properties for font size, font color and hover styling.
Properties
- fontSize number
Defaults to
14
- fontColor PaletteColor
Defaults to
#404040
fontColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- hoverEffect boolean
Toggles hover effect
- hoverColor PaletteColor
Background hover color. Uses
#f4f4f4
if no hover colors are set, is transparent if onlyhoverFontColor
is set - hoverFontColor PaletteColor
When only
hoverColor
is set, this is adjusted to either#f4f4f4
or#ffffff
for optimal contrast - padding string
Css setting for the cell padding, defaults to
4px 12px
Holds properties for font size and color.
Properties
- fontSize number
Defaults to
14
- fontColor PaletteColor
Defaults to
#404040
fontColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
Color information structure. Holds the actual color and index in palette
Properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette