Properties
- bins objectRequired
Bin settings.
bins properties
- auto booleanRequired
Auto mode generates a nice looking histogram without special parameters.
- binCount numberRequired
Number of bars to be displayed, used when binMode is set to 'maxCount'.
- binMode stringRequired
MaxCount - Able to adjust the maximum number of bars to be displayed. size - Able to adjust size of bars and offset from x-axis.
- binSize numberRequired
The width of the bars, used when binMode is set to 'size'.
- countDistinct booleanRequired
Shows unique values.
- offset numberRequired
Used to know where to start displaying bars on x-axis.
-
- color objectRequired
Color settings.
color properties
- bar objectRequired
bar properties
- paletteColor paletteColorRequired
The paletteColor object is used to define the bar color.
paletteColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
-
-
- dataPoint objectRequired
Data points
dataPoint properties
- showLabels booleanRequired
Show labels on bars
-
- dimensionAxis objectRequired
Dimension axis settings.
dimensionAxis properties
- dock 'near' | 'far'Required
Axis docking position
- label 'auto'Required
Label orientation
- show 'all' | 'labels' | 'title' | 'none'Required
Labels and title
-
- footnote string | StringExpression
Visualization footnote.
- gridlines objectRequired
Grid lines settings.
gridlines properties
- auto booleanRequired
Automatic grid line spacing.
- spacing 0 | 2 | 3Required
Grid line spacing. Used only when auto is set to false.
-
- measureAxis objectRequired
Measure axis settings.
measureAxis properties
- autoMinMax booleanRequired
Automatic max/min
- dock 'near' | 'far'Required
Axis docking position
- label string | StringExpression
Label to show on the measure axis, if left empty it defaults to 'Frequency'
- max number | ValueExpressionRequired
Axis max value.
"autoMinMax"
must be set to false and"minMax"
must be set to"max"
or"minMax"
to use this property - min number | ValueExpressionRequired
Axis min value.
"autoMinMax"
must be set to false and"minMax"
must be set to"min"
or"minMax"
to use this property - minMax 'min' | 'max' | 'minMax'Required
Set custom max/min
- show 'all' | 'labels' | 'title' | 'none'Required
Labels and title
- spacing numberRequired
Axis scale
-
- qHyperCubeDef objectRequired
Extends
HyperCubeDef
, see Engine API:HyperCubeDef
. - refLine objectRequired
Reference lines settings
refLine properties
- refLines Array< refLine >Required
Array of measure based reference line definitions
-
- showTitles boolean
Show title for the visualization.
- sorting objectRequired
Wrapper for sorting properties which will be set on the outer dimension.
sorting properties
- autoSort trueRequired
Sort automatically
-
- subtitle string | StringExpression
Visualization subtitle.
- title string | StringExpression
Visualization title.
- version stringRequired
Current version of this generic object definition.
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
Properties
- show boolean | ValueExpressionRequired
Set to true to display this reference line.
- label stringRequired
Reference line label.
- showLabel boolean
Set to true to show the label of this reference line.
- showValue boolean
Set to true to show the value of this reference line.
- paletteColor paletteColorRequired
paletteColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- style refLineStyle
Styling settings for reference line
style properties
- lineThickness number
Set the thickness for this reference line.
- lineType string
Set the dash type for this reference line.
-
- coloredBackground boolean
Set to true to fill the label and/or value of this reference line with this color
Styling settings for reference line
Properties
- lineThickness number
Set the thickness for this reference line.
- lineType string
Set the dash type for this reference line.