Nebula Scatter plot

v3.53.0

Scatter plot generic object definition

properties

namespace

Properties

color

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.

components

Styling of chart components.

dataPoint

Data points settings.

disableNavMenu
default=false
boolean

Set to enable or disable navigation menu.

footnote
string | StringExpression

Visualization footnote.

gridLine

Grid lines settings.

labels
default={"mode":1}

Label mode settings.

legend

Legend settings.

maxVisibleBubbles
default=2500
number

Set the maximum number of visible bubbles for the chart. Max is 50000 and min is 1000.

navigation
default=false
boolean

Show navigation UI.

qHyperCubeDef

Extends HyperCubeDef, see Engine API: HyperCubeDef.

refLine

Reference lines settings

showDetails
default=false
boolean

Show visualization details toggle

showDisclaimer
default=true
boolean

Show visualization disclaimer toggle

showTitles
default=true
boolean

Show title for the visualization.

subtitle
string | StringExpression

Visualization subtitle.

title
string | StringExpression

Visualization title.

tooltip

Custom tooltip properties

trendLines

Array of trend lines

version
string

Current version of this generic object definition

xAxis

X-axis settings.

yAxis

Y-axis settings.

AttributeDimensionProperties

object
extendsNxAttrDimDef

Extends NxAttrDimDef, see Engine API: NxAttrDimDef.

Properties

id
string

One of: colorByAlternative: colors the chart using different dimensions (can be used together with color.mode="byDimension") or colorByExpression together with color.mode="byExpression".

AttributeExpressionProperties

axisStyle

object

Properties

label

No description

title

No description

ColorAttributes

object
extendsNxAttrExprDef

Extends NxAttrExprDef, see Engine API: NxAttrExprDef.

Properties

id
string

One of: colorByAlternative: colors the chart using different dimensions (can be used together with color.mode="byDimension") or colorByExpression together with color.mode="byExpression".

CustomTooltipAttributes

object
extendsNxAttrExprDef

Extends NxAttrExprDef, see Engine API: NxAttrExprDef.

Properties

id
'customTooltipTitle' | 'customTooltipDescription' | 'customTooltipExpression'

Indicates how the attribute expression will be interpreted by the chart. customTooltipTitle: additional title displayed on the custom tooltip customTooltipDescription: description displayed on the custom tooltip customTooltipExpression: measures displayed on the custom tooltip

```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"
}]
```

DimensionProperties

object
extendsNxDimension

Extends NxDimension, see Engine API: NxDimension.

Properties

qAttributeDimensions

No description

qDef

Extends NxInlineDimensionDef, see Engine API: NxInlineDimensionDef.

fontStyle

object

Properties

color

Color information structure. Holds the actual color and index in palette.

fontFamily
string

No description

fontSize
string

No description

InlineDimensionDef

object
extendsNxInlineDimensionDef

Extends NxInlineDimensionDef, see Engine API: NxInlineDimensionDef.

Properties

autoSort
boolean

Set to automatically sort the dimension.

cId
string

ID used by the Qlik Sense. Must be unique within the current chart.

othersLabel
string | StringExpression

No description

InlineMeasureDef

object
extendsNxInlineMeasureDef

Extends NxInlineMeasureDef, see Engine API: NxInlineMeasureDef.

Properties

autoSort
boolean

Set to automatically sort the measure.

cId
string

ID used by the Qlik Sense. Must be unique within the current chart.

isCustomFormatted
boolean

Set to true to toggle off the default client formatting.

numFormatFromTemplate
default=true
boolean

When enabled, the number format to use can be selected from multiple predefined formats based on the desired type (number, date).

othersLabel
string | StringExpression

No description

labelNameStyle

object

Properties

name

No description

labelStyle

object

Properties

value

No description

legendStyle

object

Properties

title

No description

label

No description

MeasureProperties

object
extendsNxMeasure

Extends NxMeasure, see Engine API: NxMeasure.

Properties

qAttributeExpressions

No description

qDef

Extends NxInlineMeasureDef, see Engine API: NxInlineMeasureDef.

paletteColor

object

Color information structure. Holds the actual color and index in palette.

Properties

color
string

Color as hex string (mandatory if index: -1)

index
number

Index in palette

referenceLineStyle

object

Properties

label

No description

refLine

object

Properties

show
default=true
boolean | ValueExpression

Set to true to display this reference line.

label
string

Reference line label.

paletteColor

Color information structure. Holds the actual color and index in palette.

refLineExpr

No description

scatterPlotStyle

object

Properties

key
string

Determines which component the settings apply to.

axis

No description

label

No description

referenceLine

No description

legendStyle

No description

trendLine

object

Properties

label
string

Trend line label

qType
string

Trend line type, for example LINEAR or EXPONENTIAL

flipXY
default=false
boolean

Set to true if the first measure should be the dependent variable

qMultiDimMode
default='"Sum"'
string

Not applicable for scatter plot since it has only one dimension

qXColIx
number

The column in the hypercube to be used as x axis. Related to flipXY.

style

No description

Was this page helpful?