Vega embedding (version: )
This a technical page, check Online Help to use embeding.
manadatory parameters:
- code: dataset code or custom dataset code
- visualisation: LINE, VERTICAL_BAR, HORIZONTAL_BAR, VERTICAL_BAR_OVERVIEW, HORIZONTAL_BAR_OVERVIEW, MAP, MAP_NUTS, MAP_CITIES
Optional parameters:- language: en, fr, de (default: en)
HORIZONTAL_BAR(_OVERVIEW) and VERTICAL_BAR(_OVERVIEW) mandatory parameters:
- x (format is dimensionCode:positionCode1,positionCode2 ; positionCodes are optional)
- series (format is dimensionCode:positionCode)
Optional parameters:- filter (format is dimensionCode1:positionCode,dimensionCode2:positionCode)
Other bar options:- labelAngle: number corresponding to the angle of the text on x axis
- dataLabelDisplay: none, all, all_flag, highlighted (default: none)
- textLimit: size of the label on label axis
- hoverFill: color to use when hover a bar
- sorting: protocol, descending, ascending (default: protocol)
- nestingGeoGroup (ignored when not combined with descending or ascending sort)
- highlight (format is positionCode,positionCode2)
- colorPalette: none, monocolour, contrasted (default: none)
- classAmount: from 2 to 12 (default: 6)
- classification: quantile, equal, custom (default: quantile ; when classification is custom define as: custom:limit1;limit2;limit3 (will ignore classAmount))
- useGradient (will ignore: colorPalette, classAmount and classification)
- title: text to use as title (default: dataset title)
- titleLength: maximum character length for title before wrapping to next line (default: 100)
- displaySubtitle
- displayContext
- barWidth: define the width/height of bar in case of vertical/horizontal overview bar chart (default: 30/15)
LINE mandatory parameters:
- series (format is dimensionCode:positionCode1,positionCode2 ; positionCodes are optional)
Optional parameters:- x (format is time1,time2)
- filter (format is dimensionCode1:positionCode,dimensionCode2:positionCode)
Other line options:- startFromZero
- displaySeriesMarker
- breaksInTime
- highlight (format is positionCode,positionCode2)
- useMultiLineTooltip
- displayLegend
- dataLabelDisplay: none, all_flag (default: none)
For MAP, MAP_NUTS and MAP_CITIES mandatory parameters:
- x (format is geoDimensionCode:positionCode1,positionCode2 ; positionCodes are optional)
- filter (format is dimensionCode1:positionCode,dimensionCode2:positionCode)
Other map option:- outerRegion
- displayLegend
- displayGraticule
- displayFlag
- colorPalette: monocolour, contrasted (default: monocolour)
- classAmount: from 2 to 12 (default: 6)
- classification: quantile, equal, custom (default: quantile ; when classification is custom define as: custom:limit1;limit2;limit3 (will ignore classAmount))
- useGradient (will ignore: colorPalette, classAmount and classification)
- isCircleSelected (will ignore: displayLegend, colorPalette, classAmount, classification and useGradient