@nebula.js/sn-grid-chart:properties

v1.4.1

Grid chart 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.

dataPoint

Data point settings.

footnote
string | StringExpression

Visualization footnote.

mode
default='default'
'default' | 'heatmap'

Chart mode.

qHyperCubeDef

Extends HyperCubeDef, see Engine API: HyperCubeDef.

showDetails
boolean

Show visualization details toggle

showTitles
optional, default=true
boolean

Show title for the visualization

subtitle
string | StringExpression

Visualization subtitle.

title
string | StringExpression

Visualization title.

version
string

Current version of this generic object definition

xAxis

X-axis settings.

yAxis

Y-axis settings.

byDimDef

object

Settings when coloring by dimension ("mode": "byDimension")

Properties

key
string

libraryId if "type": "libraryItem", dimension expression if "type": "expression"

label
string

Label displayed for coloring (in legend and tooltip for instance). String or expression. Not used when coloring by library items.

type
'expression' | 'libraryItem'

No description

byMeasureDef

object

Settings when coloring by measure ("mode": "byMeasure")

Properties

key
string

libraryId if "type": "libraryItem", measure expression if "type": "expression"

label
string

Label displayed for coloring (in legend and tooltip for instance). String or expression. Not used when coloring by library items.

type
'expression' | 'libraryItem'

No description

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

Was this page helpful?