Properties
- color objectRequired
Color settings. Most color options for visualizations are set in the color object in the options. You activate custom coloring by setting
"auto": false
which turns off auto-coloring. If"auto": true
, no other properties need to be defined in the color object. Note: Some of the color properties are depending on which theme is currently being used.color properties
- auto booleanRequired
Set to use automatic coloring. When
"auto": true
, color settings are based on the visualization used and the number of dimensions and measures, that is, the settings are not fixed, but are dependent on the data input. - autoMinMax booleanRequired
Set to false to define custom color range. Custom color range is only applicable when coloring is by measure (
"mode": "byMeasure"
) or by expression ("mode": "byExpression"
). When coloring is by expression,"expressionIsColor": "false"
must be set for custom color range to work. - byDimDef byDimDef
byDimDef properties
- key stringRequired
libraryId if
"type": "libraryItem"
, dimension expression if"type": "expression"
- label stringRequired
Label displayed for coloring (in legend and tooltip for instance). String or expression. Not used when coloring by library items.
- type 'expression' | 'libraryItem'Required
-
- byMeasureDef byMeasureDef
byMeasureDef properties
- key stringRequired
libraryId if
"type": "libraryItem"
, measure expression if"type": "expression"
- label stringRequired
Label displayed for coloring (in legend and tooltip for instance). String or expression. Not used when coloring by library items.
- type 'expression' | 'libraryItem'Required
-
- colorExpression string
Sets the color expression to be used when
"mode": "byExpression"
is defined. Expression can evaluate either to a numerical value or a color code if"expressionIsColor": true
. Supported formats are:RGB
,ARGB
andHSL
- dimensionScheme '12' | '100'Required
Color scheme when
"mode": "byDimension"
or"mode": "byMultiple"
("12"
or"100"
for most themes). - expressionIsColor booleanRequired
Set to define whether the result of the expression is a valid CSS3 color. Only applicable when
"mode": "byExpression"
. - expressionLabel stringRequired
Label to be defined on tool tips when using a coloring expression. Only used if
'expressionIsColor': false
. - formatting objectRequired
Color by measure number formatting options
formatting properties
- isCustomFormatted boolean
If true, the client formatting will be toggled off
- numFormatFromTemplate boolean
When enabled, the number format to use can be selected from multiple predefined formats based on the desired type (number, date).
-
- measureMax ValueExpression
Set the max value for the color range. Only applicable if
"autoMinMax": false
. - measureMin ValueExpression
Set the min value for the color range. Only applicable if
"autoMinMax": false
. - measureScheme 'sg' | 'sc' | 'dg' | 'dc'Required
Color scheme when
"mode": "byMeasure"
. Can be one of:sg
: (sequential gradient) the transition between the different color groups is made using different shades of colors. High measure values have darker huessc
: (sequential classes) the transition between the different color groups is made using distinctly different colors.dg
: (diverging gradient) used when working with data that is ordered from low to high, for instance, to show the relationship between different areas on a map. Low and high values have dark colors, mid-range colors are light.dc
: (diverging classes) can be seen as two sequential classes combined, with the mid-range shared. The two extremes, high and low, are emphasized with dark colors with contrasting hues, and the mid-range critical values are emphasized with light colors.
- mode 'primary' | 'byDimension' | 'byExpression' | 'byMeasure' | 'byMultiple'Required
Sets the coloring mode for the visualization when auto-coloring has been switched off (
"auto": false
). Can be one of:primary
: a single color (by default blue) is used for all items in the chart. In visualizations that do not benefit from multiple colors (bar charts with one dimension and scatter plots), single color is the default setting.byDimension
: coloring is based upon the amount of dimension values. Details are set in the"byDimDef"
property. !Note:byDimension
can only be used in conjunction with an attribute dimension on the dimension to color by, as shown in the example below.
{ "qDef": { "qFieldDefs": [ "NetScoreName" ] }, "qAttributeDimensions": [ { "qDef": "NetScoreName", "id": "colorByAlternative", "label": "Year" } ] }
byExpression
: coloring is based on an expression, which in most cases is a color code. Details are set in the"expressionIsColor"
,"expressionLabel
" and"colorExpression"
properties.byMeasure
: coloring is based on the measure value. Details are set in the"byMeasureDef"
property.byMultiple
: can be used when more than one measure is used. By default, 12 colors are used for the dimensions. The colors are reused when there are more than 12 dimension values.
- paletteColor paletteColorRequired
The paletteColor object is used to define the color when you color by single color
("mode": "primary")
.paletteColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- persistent booleanRequired
Set to use persistent colors on data points between selections. Only applicable when using one dimension and when
"mode": "byDimension"
or when"mode": "byMultiple"
. - reverseScheme booleanRequired
Set to reverse the color scheme.
- singleColor number DeprecatedRequired
- useBaseColors 'off' | 'dimension' | 'measure'Required
Use colors encoded in master items. Only applicable when
"mode": "primary"
or"mode": "byMultiple"
has been defined. - useDimColVal booleanRequired
Set to true if you want to apply the colors defined for library dimensions when used. Only applicable if
'colorMode': 'byDimension'
. - useMeasureGradient booleanRequired
Set to true if you want to apply the colors defined for library measures when used. Only applicable if
"mode": "byMeasure"
.
-
- components Array< Component >Required
Styling of chart components.
- dataPoint objectRequired
Data point settings.
dataPoint properties
- show booleanRequired
Show data points.
- showLabels booleanRequired
Show labels on data points.
-
- dimensionAxis objectRequired
Dimension axis settings.
dimensionAxis properties
- axisDisplayMode 'auto' | 'custom' | 'max'Required
Set to specify axis display mode (number of axis values).
- continuousAuto booleanRequired
Continuous setting used for toggling between auto and custom setting
- dock 'near' | 'far'Required
Axis docking position
- label 'auto' | 'horizontal' | 'tilted'Required
Label orientation
- maxVisibleItems number | ValueExpressionRequired
Only visible when axisDisplayMode is custom. Max = 10000 / (numDims+numMeasures)
- show 'all' | 'labels' | 'title' | 'none'Required
Labels and title
-
- footnote string | StringExpression
Visualization footnote.
- gridLine objectRequired
Grid lines settings.
gridLine properties
- auto booleanRequired
Automatic grid line spacing.
- spacing 0 | 1 | 2 | 3Required
Grid line spacing. Used only when auto is set to false.
-
- legend objectRequired
Legend settings.
legend properties
- dock 'auto' | 'right' | 'left' | 'bottom' | 'top'Required
Sets the legend position.
- show booleanRequired
Set to show the legend.
- showTitle booleanRequired
Show the legend title.
-
- lineType 'line' | 'area'Required
Type of line chart.
- measureAxis objectRequired
Measure axis settings.
measureAxis properties
- autoMinMax booleanRequired
Automatic max/min
- dock 'near' | 'far'Required
Axis docking position
- logarithmic booleanRequired
Logarithmic scale
- 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
-
- nullMode 'gap' | 'connect' | 'zero'
Null value presentation
- orientation 'vertical' | 'horizontal'Required
Orientation setting. If horizontal, the dimension axis can only be docked on bottom or top and measure axis on left or right.
- preferContinuousAxis booleanRequired
Chart axis setting to control preference of scale on a dimensional axis. If true, the scale along the dimensional axis will be continuous if the data supports it, discrete otherwise.
- qHyperCubeDef objectRequired
Extends
HyperCubeDef
, see Engine API:HyperCubeDef
.qHyperCubeDef properties
- qAlwaysFullyExpanded booleanRequired
- qDimensions Array< DimensionProperties >Required
- qMeasures Array< MeasureProperties >Required
- qSuppressMissing booleanRequired
- qSuppressZero booleanRequired
-
- refLine objectRequired
Reference lines settings
refLine properties
- dimRefLines Array< dimRefLine >Required
Array of dimension based reference line definitions
- refLines Array< refLine >Required
Array of measure based reference line definitions
-
- scrollbar 'bar' | 'miniChart' | 'none'Required
Sets the style of the scroll bar
- scrollStartPos numberRequired
Scroll Alignment. If 0, then the scrollbar will start at the left/top of the chart, if 1 it starts at the right/bottom of the chart. Generally decides if the scroll starts at the beginning or end of the data
- separateStacking booleanRequired
Stack positive and negative values separately. Dependent of lineType property.
- showDetails boolean
Show visualization details toggle
- showDisclaimer booleanRequired
Show visualization disclaimer toggle
- showMiniChartForContinuousAxis booleanRequired
Chart axis setting to turn on/off the mini chart for continuous axis.
- showTitles boolean
Show title for the visualization.
- stackedArea booleanRequired
Stack areas. Dependent of lineType property.
- subtitle string | StringExpression
Visualization subtitle.
- title string | StringExpression
Visualization title.
- tooltip objectRequired
Custom tooltip properties
tooltip properties
- auto booleanRequired
Toggle for using custom tooltip or regular tooltip
- chart MasterVisualizationChartRequired
The chart object is used to define the chart displayed by the custom tooltip.
chart properties
- Required
Object containing the information fo the visualization, such as refId in case of master visualization
object properties
- refId stringRequired
Input field containing the qExtendsId of the visualization, where qExtendsId is the unique id of the master visualization
-
- Required
Object containing the styles of the chart such as 'size'
style properties
- size stringRequired
Input type as 'small' or 'medium' or 'large'
-
-
- description string | StringExpression
Custom tooltip description.
- hideBasic booleanRequired
Toggle for hiding basic information from custom tooltip
- imageComponents Array< ImageComponent >Required
The imageComponents objects are used to define the images displayed by the custom tooltip.
- title string | StringExpression
Custom tooltip title.
-
- version stringRequired
Current version of this generic object definition
It allows you to accumulate values of your measure over one or two dimensions.
Properties
- fullAccumulation booleanRequired
Select whether the accumulation will happen on the Full range or Custom range.
- showExcludedValues booleanRequired
Shows the excluded values (values not in the current selection) in the accumulation.
- type stringRequired
This should be set to
"accumulation"
. - accumulationDimension: number
Only applicable when there are two dimensions. Selects the dimension on which the accumulation will take place. If the accumulation is made across multiple dimensions, this will be the first dimension.
- crossAllDimensions boolean
Only applicable when there are two dimensions. Continues accumulation across both dimensions.
- disabled boolean
- steps number
Only applicable when
fullAccumulation
is set tofalse
. The number of steps in the dimensions which form an accumulation range. Only zero and positive integers are accepted. Note: Sorting order of dimension values (or step order) is important and affects results.
Extends NxAttrDimDef
, see Engine API: NxAttrDimDef
.
Properties
- id stringRequired
One of:
colorByAlternative
: colors the chart using different dimensions (can be used together with color.mode="byDimension") orcolorByExpression
together with color.mode="byExpression".
AttributeExpressionProperties ColorAttributes | CustomTooltipAttributes | ForecastAttributes
Properties
- axis AxisStylingRequired
axis properties
- label LabelNameStylingRequired
label properties
- name FontStylingRequired
-
- title FontStylingRequired
title properties
- color paletteColorRequired
color properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- fontFamily stringRequired
- fontSize stringRequired
-
-
- key stringRequired
This should be set to
"axis"
(Determines which component the settings apply to).
Properties
- label LabelNameStylingRequired
label properties
- name FontStylingRequired
-
- title FontStylingRequired
title properties
- color paletteColorRequired
color properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- fontFamily stringRequired
- fontSize stringRequired
-
Settings when coloring by dimension ("mode": "byDimension"
)
Properties
- key stringRequired
libraryId if
"type": "libraryItem"
, dimension expression if"type": "expression"
- label stringRequired
Label displayed for coloring (in legend and tooltip for instance). String or expression. Not used when coloring by library items.
- type 'expression' | 'libraryItem'Required
Settings when coloring by measure ("mode": "byMeasure"
)
Properties
- key stringRequired
libraryId if
"type": "libraryItem"
, measure expression if"type": "expression"
- label stringRequired
Label displayed for coloring (in legend and tooltip for instance). String or expression. Not used when coloring by library items.
- type 'expression' | 'libraryItem'Required
Extends NxAttrExprDef
, see Engine API: NxAttrExprDef
.
Properties
- id stringRequired
One of:
colorByAlternative
: colors the chart using different dimensions (can be used together with color.mode="byDimension") orcolorByExpression
together with color.mode="byExpression".
Extends NxAttrExprDef
, see Engine API: NxAttrExprDef
.
Properties
- id 'customTooltipTitle' | 'customTooltipDescription' | 'customTooltipExpression'Required
Indicates how the attribute expression will be interpreted by the chart.
customTooltipTitle
: additional title displayed on the custom tooltipcustomTooltipDescription
: description displayed on the custom tooltipcustomTooltipExpression
: measures displayed on the custom tooltip
CustomTooltipAttributes
```json
"qAttributeExpressions": [{
"qExpression": "",
"qLibraryId": "",
"qAttribute": true,
"qNumFormat": {
"qType": "U",
"qnDec": 10,
"qUseThou": 0,
"qFmt": "",
"qDec": "",
"qThou": "",
}
"qLabel": "custom title",
"qLabelExpression": "",
"id": "customTooltipTitle"
},
{
"qExpression": "avg(population)",
"qLibraryId": "",
"qAttribute": true,
"qNumFormat": {
"qType": "U",
"qnDec": 10,
"qUseThou": 0,
"qFmt": "",
"qDec": "",
"qThou": "",
}
"qLabel": "",
"qLabelExpression": "",
"id": "customTooltipDescription"
},
{
"qExpression": "",
"qLibraryId": "zpDNMcg",
"qAttribute": true,
"qNumFormat": {
"qType": "U",
"qnDec": 10,
"qUseThou": 0,
"qFmt": "",
"qDec": "",
"qThou": "",
}
"qLabel": "",
"qLabelExpression": "",
"id": "customTooltipExpression"
},
{
"qExpression": "sum(population)",
"qLibraryId": "",
"qAttribute": true,
"qNumFormat": {
"qType": "M",
"qnDec": 2,
"qUseThou": 0,
"qFmt": "$#,##0.00;-$#,##0.00",
"qDec": ".",
"qThou": ",",
}
"qLabel": "",
"qLabelExpression": "=avg(population)",
"id": "customTooltipExpression"
},
{
"qExpression": "'https://my_url/'+sum(population)",
"qLibraryId": "",
"qAttribute": true,
"qNumFormat": null,
"qLabel": "",
"qLabelExpression": "",
"cId": "generatedUniqueId",
"id": "customTooltipImages"
}]
```
Properties
- showExcludedValues booleanRequired
Shows the excluded values (values not in the current selection) in the difference.
- type stringRequired
This should be set to
"difference"
. - accumulationDimension: number
Only applicable when there are two dimensions. Selects the dimension on which the difference will take place. If the difference is made across multiple dimensions, this will be the first dimension.
- crossAllDimensions boolean
Only applicable when there are two dimensions. Continues the difference across both dimensions.
- disabled boolean
Properties
- steps numberRequired
Number of forecast steps
- stepSize numberRequired
- stepSizeMultiplier numberRequired
Extends NxDimension
, see Engine API: NxDimension
.
Properties
- qAttributeDimensions Array< AttributeDimensionProperties >Required
- qDef InlineDimensionDefRequired
qDef properties
- forecast DimensionForecastRequired
forecast properties
- steps numberRequired
Number of forecast steps
- stepSize numberRequired
- stepSizeMultiplier numberRequired
-
- othersLabel string | StringExpressionRequired
- autoSort boolean
Set to automatically sort the dimension.
- cId string
ID used by the Qlik Sense. Must be unique within the current chart.
-
Properties
- label stringRequired
Reference line label.
- paletteColor paletteColorRequired
paletteColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- refLineExpr objectRequired
refLineExpr properties
- value number | ValueExpressionRequired
- label string | StringExpression
- stringValue string | StringExpressionRequired
-
- show boolean | ValueExpressionRequired
Set to true to display this reference line.
- align 'start' | 'center' | 'end'
Set alignment for this reference line
- coloredBackground boolean
Set to true to fill the label and/or value of this reference line with this color
- 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.
- 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.
-
Properties
- color paletteColorRequired
color properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- fontFamily stringRequired
- fontSize stringRequired
Extends NxAttrExprDef
, see Engine API: NxAttrExprDef
.
Properties
- id 'forecast' | 'forecast_lower' | 'forecast_lower'Required
Indicates how the attribute expression will be interpreted by the chart.
forecast
: forecast lineforecast_lower
: lower edge of forecast confidence intervalforecast_upper
: upper edge of forecast confidence interval
Image component information structure.
Properties
- cId stringRequired
Identifier of the image component - used as a link with an attribute expression
- ref string | StringExpression | MediaLibraryRefRequired
The reference value of the image
- size stringRequired
Size as 'small','medium','large' or 'original'
- type stringRequired
Input type as 'url' or 'media library'
Extends NxInlineDimensionDef
, see Engine API: NxInlineDimensionDef
.
Properties
- forecast DimensionForecastRequired
forecast properties
- steps numberRequired
Number of forecast steps
- stepSize numberRequired
- stepSizeMultiplier numberRequired
-
- othersLabel string | StringExpressionRequired
- autoSort boolean
Set to automatically sort the dimension.
- cId string
ID used by the Qlik Sense. Must be unique within the current chart.
Extends NxInlineMeasureDef
, see Engine API: NxInlineMeasureDef
.
Properties
- forecast MeasureForecastRequired
forecast properties
- confidence numberRequired
Only relevant when method is 'SSA' and showConfidence is true. should be between 0 and 1 (exclusive)
- enabled booleanRequired
- lineCurve 'linear' | 'monotone'Required
- lineThickness numberRequired
Set to specify line thickness. Can be set from 1 to 5.
- lineType 'solid' | 'dashed'Required
- method 'ssa_forecast' | 'ols_forecast'Required
Forecast method
- paletteColor paletteColorRequired
paletteColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- showConfidence booleanRequired
Only used when method is 'SSA'
-
- isCustomFormatted booleanRequired
Set to true to toggle off the default client formatting.
- numFormatFromTemplate booleanRequired
When enabled, the number format to use can be selected from multiple predefined formats based on the desired type (number, date).
- othersLabel string | StringExpressionRequired
- autoSort boolean
Set to automatically sort the measure.
- cId string
ID used by the Qlik Sense. Must be unique within the current chart.
- modifiers Array< Modifier >
Set to apply a modifier to a measure.
- style LineStyling
Can be used to change the line thickness, line type, and line curve for one of the lines. These style settings will override the components styling settings.
style properties
- dataPointSize numberRequired
Set to specify the size of the data point.
- lineCurve 'linear' | 'monotone'Required
- lineThickness numberRequired
Set to specify line thickness. Can be set from 1 to 5.
- lineType 'solid' | 'dashed'Required
-
Properties
- key stringRequired
This should be set to
"label"
(Determines which component the settings apply to). - label LabelValueStylingRequired
label properties
- value FontStylingRequired
Data points labels
value properties
- color paletteColorRequired
color properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- fontFamily stringRequired
- fontSize stringRequired
-
-
Properties
- name FontStylingRequired
name properties
- color paletteColorRequired
color properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- fontFamily stringRequired
- fontSize stringRequired
-
Properties
- value FontStylingRequired
Data points labels
value properties
- color paletteColorRequired
color properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- fontFamily stringRequired
- fontSize stringRequired
-
Properties
- key stringRequired
This should be set to
"legend"
(Determines which component the settings apply to). - legend LegendStylingRequired
legend properties
- label LabelNameStylingRequired
label properties
- name FontStylingRequired
-
- title FontStylingRequired
title properties
- color paletteColorRequired
color properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- fontFamily stringRequired
- fontSize stringRequired
-
-
Properties
- label LabelNameStylingRequired
label properties
- name FontStylingRequired
-
- title FontStylingRequired
title properties
- color paletteColorRequired
color properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- fontFamily stringRequired
- fontSize stringRequired
-
Properties
- key stringRequired
This should be set to
"line"
(Determines which component the settings apply to). - style LineStylingRequired
style properties
- dataPointSize numberRequired
Set to specify the size of the data point.
- lineCurve 'linear' | 'monotone'Required
- lineThickness numberRequired
Set to specify line thickness. Can be set from 1 to 5.
- lineType 'solid' | 'dashed'Required
-
Properties
- dataPointSize numberRequired
Set to specify the size of the data point.
- lineCurve 'linear' | 'monotone'Required
- lineThickness numberRequired
Set to specify line thickness. Can be set from 1 to 5.
- lineType 'solid' | 'dashed'Required
Chart component information structure.
Properties
- Required
Object containing the information fo the visualization, such as refId in case of master visualization
object properties
- refId stringRequired
Input field containing the qExtendsId of the visualization, where qExtendsId is the unique id of the master visualization
-
- Required
Object containing the styles of the chart such as 'size'
style properties
- size stringRequired
Input type as 'small' or 'medium' or 'large'
-
Chart component information structure.
Properties
- refId stringRequired
Input field containing the qExtendsId of the visualization, where qExtendsId is the unique id of the master visualization
Chart component information structure.
Properties
- size stringRequired
Input type as 'small' or 'medium' or 'large'
Properties
- confidence numberRequired
Only relevant when method is 'SSA' and showConfidence is true. should be between 0 and 1 (exclusive)
- enabled booleanRequired
- lineCurve 'linear' | 'monotone'Required
- lineThickness numberRequired
Set to specify line thickness. Can be set from 1 to 5.
- lineType 'solid' | 'dashed'Required
- method 'ssa_forecast' | 'ols_forecast'Required
Forecast method
- paletteColor paletteColorRequired
paletteColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- showConfidence booleanRequired
Only used when method is 'SSA'
Extends NxMeasure
, see Engine API: NxMeasure
.
Properties
- qAttributeExpressions Array< AttributeExpressionProperties >Required
- qDef InlineMeasureDefRequired
qDef properties
- forecast MeasureForecastRequired
forecast properties
- confidence numberRequired
Only relevant when method is 'SSA' and showConfidence is true. should be between 0 and 1 (exclusive)
- enabled booleanRequired
- lineCurve 'linear' | 'monotone'Required
- lineThickness numberRequired
Set to specify line thickness. Can be set from 1 to 5.
- lineType 'solid' | 'dashed'Required
- method 'ssa_forecast' | 'ols_forecast'Required
Forecast method
- paletteColor paletteColorRequired
paletteColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- showConfidence booleanRequired
Only used when method is 'SSA'
-
- isCustomFormatted booleanRequired
Set to true to toggle off the default client formatting.
- numFormatFromTemplate booleanRequired
When enabled, the number format to use can be selected from multiple predefined formats based on the desired type (number, date).
- othersLabel string | StringExpressionRequired
- autoSort boolean
Set to automatically sort the measure.
- cId string
ID used by the Qlik Sense. Must be unique within the current chart.
- modifiers Array< Modifier >
Set to apply a modifier to a measure.
- style LineStyling
Can be used to change the line thickness, line type, and line curve for one of the lines. These style settings will override the components styling settings.
style properties
- dataPointSize numberRequired
Set to specify the size of the data point.
- lineCurve 'linear' | 'monotone'Required
- lineThickness numberRequired
Set to specify line thickness. Can be set from 1 to 5.
- lineType 'solid' | 'dashed'Required
-
-
Media Library Reference structure.
Properties
- qStaticContentUrlDef objectRequired
Media library structure
Modifier Accumulation | Difference | MovingAverage
Properties
- fullRange booleanRequired
Select whether the moving average will happen on the Full range or Custom range.
- nullSuppression booleanRequired
Choose to have null values calculated by the moving average modifier.
- showExcludedValues booleanRequired
Shows the excluded values (values not in the current selection) in the moving average.
- type stringRequired
This should be set to
"movingAverage"
. - accumulationDimension: number
Only applicable when there are two dimensions. Selects the dimension on which the moving average will take place. If the moving average is made across multiple dimensions, this will be the first dimension.
- crossAllDimensions boolean
Only applicable when there are two dimensions. Continues the moving average across both dimensions.
- disabled boolean
- steps number
Only applicable when
fullRange
is set tofalse
. The number of steps in the dimension which form a moving average. Only zero and positive integers are accepted. Note: Sorting order of dimension values (or step order) is important and affects results.
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
Media Library structure that will be evaluated by the engine.
Properties
- qUrl stringRequired
Value of media library image
Properties
- label stringRequired
Reference line label.
- paletteColor paletteColorRequired
paletteColor properties
- color stringRequired
Color as hex string (mandatory if index: -1)
- index numberRequired
Index in palette
-
- refLineExpr objectRequired
refLineExpr properties
- value number | ValueExpressionRequired
- label string | StringExpression
-
- show boolean | ValueExpressionRequired
Set to true to display this reference line.
- coloredBackground boolean
Set to true to fill the label and/or value of this reference line with this color
- 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.
- 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.
-
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.