Nebula Box plot chart

Boxplot generic object definition

Download specification

experimental

properties namespace

Properties

  • boxplotDef object
    Required

    Settings specific to the boxplot

    Show boxplotDef properties
    • calculations object
      Required

      Box plot calculation settings.

      Show calculations properties
      • auto boolean
        Required

        Use automatic calculations

      • mode 'tukey'  |  'fractiles'  |  'stdDev'
        Required

        Auto calculation modes

      • parameters object
        Required

        Box plot calculation settings

        Show parameters properties
        • fractiles number
          Required

          A number representing the two whisker fractiles as N and 1-N

        • stdDev number
          Required

          Standard deviation spread for whiskers

        • tukey number
          Required

          Number of interquartile ranges for whiskers.

    • color object
      Required

      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.

      Show color properties
      • auto boolean
        Required

        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.

      • box object
        Required
        Show box properties
        • paletteColor paletteColor
          Required

          The paletteColor object is used to define the box color when you color by single color ("mode": "primary").

          Show paletteColor properties
          • color string
            Required

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

          • index number
            Required

            Index in palette

      • expressionIsColor true
        Required

        Should be true

      • expressionLabel string
        Required

        Label to be defined on tool tips when using a coloring expression. Only used if 'expressionIsColor': false.

      • mode 'primary'  |  'byExpression'  |  '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.
        • 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.
        • 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.
      • point object
        Required
        Show point properties
        • paletteColor paletteColor
          Required

          The paletteColor object is used to define the point color when you color by single color ("mode": "primary").

      • useBaseColors 'off'  |  'dimension'  |  'measure'
        Required

        Use colors encoded in master items. Only applicable when "mode": "primary" has been defined.

    • elements object
      Required

      Box plot elements settings.

      Show elements properties
      • firstWhisker object
        Required

        Box plot element settings

        Show firstWhisker properties
      • outliers object
        Required

        Box plot outliers element

        Show outliers properties
        • include boolean
          Required

          Show the outliers.

        • sortOutliers boolean
          Required
    • presentation object
      Required

      Presentation settings for the boxplots

      Show presentation properties
      • whiskers object
        Required

        Settings for the boxplot whiskers

        Show whiskers properties
        • show boolean
          Required

          Show whiskers.

    • qHyperCubeDef object
      Required

      Extends HyperCubeDef, see Engine API: HyperCubeDef.

    • sorting object
      Required

      Wrapper for sorting properties which will be set on the outer dimension.

      Show sorting properties
      • autoSort boolean
        Required

        Sort automatically

  • dimensionAxis object
    Required

    Dimension axis settings.

    Show dimensionAxis properties
    • dock 'near'  |  'far'
      Required

      Axis docking position

    • label 'auto'  |  'horizontal'  |  'tilted'
      Required

      Label orientation

    • show 'all'  |  'labels'  |  'title'  |  'none'
      Required

      Labels and title

  • footnote string  |  StringExpression

    Visualization footnote.

  • gridlines object
    Required

    Grid lines settings.

    Show gridlines properties
    • auto boolean
      Required

      Automatic grid line spacing.

    • spacing 0  |  2  |  3
      Required

      Grid line spacing. Used only when auto is set to false.

  • measureAxis object
    Required

    Measure axis settings.

    Show measureAxis properties
    • autoMinMax boolean
      Required

      Automatic max/min

    • dock 'near'  |  'far'
      Required

      Axis docking position

    • max number  |  ValueExpression
      Required

      Axis max value. "autoMinMax" must be set to false and "minMax" must be set to "max" or "minMax" to use this property

    • min number  |  ValueExpression
      Required

      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 number
      Required

      Axis scale

  • orientation 'vertical'  |  'horizontal'
    Required

    Orientation setting. If vertical, the dimension axis can only be docked on bottom or top and measure axis on left or right.

  • refLine object
    Required

    Reference lines settings

    Show refLine properties
    • refLines Array< refLine >
      Required

      Array of measure based reference line definitions

  • showTitles boolean

    Show title for the visualization.

  • sorting object
    Required

    Wrapper for sorting properties which will be set on the outer dimension.

    Show sorting properties
    • autoSort boolean
      Required

      Sort automatically

    • elementId 'firstWhisker'  |  'boxStart'  |  'boxMiddle'  |  'boxEnd'  |  'lastWhisker'
      Required

      Sorting preset

    • Required

      Expression for the sorting. Requires sortByExpression to be -1 or 1.

    • sortCriteria object
      Required
      Show sortCriteria properties
      • sortByAscii number
        Required

        Sort by alphabetic

      • sortByExpression number
        Required

        Sort by expression

      • sortByNumeric number
        Required

        Sort by numeric

  • subtitle string  |  StringExpression

    Visualization subtitle.

  • title string  |  StringExpression

    Visualization title.

  • version string
    Required

    Current version of this generic object definition.

paletteColor object

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

Properties

  • color string
    Required

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

  • index number
    Required

    Index in palette

refLine object

Properties

  • show boolean  |  ValueExpression
    Required

    Set to true to display this reference line.

  • label string
    Required

    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 paletteColor
    Required
    Show paletteColor properties
    • color string
      Required

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

    • index number
      Required

      Index in palette

  • Styling settings for reference line

    Show 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

refLineStyle object

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.