Nebula Org chart

Org chart generic object definition

Download specification

experimental

properties object

extends EngineAPI.GenericObjectProperties

Properties

  • showTitles boolean
    Required

    Show title for the visualization

  • title string
    Required

    Visualization title

  • subtitle string
    Required

    Visualization subtitle

  • footnote string
    Required

    Visualization footnote

  • navigationMode 'expandAll'  |  'free'
    Required

    How the org chart is navigated

  • resizeOnExpand boolean
    Required

    Resize and pan chart when a node's list of children is expanded

  • style Style
    Required

    Holds chart styling

    Show style properties
    • fontColor FontColor

      Color of the text, by default #484848

      Show fontColor properties
      • colorType 'auto'  |  'colorPicker'  |  'byExpression'

        How the font color is defined

      • Color defined by index or hex code, needed if colorType is colorPicker

        Show color properties
        • color string

          Color as hex string (only used if index: -1)

        • index number

          Index in palette

      • colorExpression ColorExpression

        Color defined by expression, needed if colorType is byExpression

        Show colorExpression properties
        • qStringExpression object
          Required
          Show qStringExpression properties
          • qExpr string
            Required

            expression that resolves to a supported color format

    • backgroundColor Background

      Color of the background, by default #ffffff

      Show backgroundColor properties
      • colorType 'auto'  |  'colorPicker'  |  'byExpression'

        How the background color is defined

      • Color defined by index or hex code, needed if colorType is colorPicker

      • colorExpression ColorExpression

        Color defined by expression, needed if colorType is byExpression

    • border Border

      Styling for border, by default #737373

      Show border properties
      • top boolean

        Set to true to show thicker top border

      • fullBorder boolean

        Set to true to show full border

      • colorType 'auto'  |  'colorPicker'  |  'byExpression'

        How the border color is defined

      • Color defined by index or hex code, needed if colorType is colorPicker

      • colorExpression ColorExpression

        Color defined by expression, needed if colorType is byExpression

Style object

Holds styling options

Properties

  • fontColor FontColor

    Color of the text, by default #484848

    Show fontColor properties
    • colorType 'auto'  |  'colorPicker'  |  'byExpression'

      How the font color is defined

    • Color defined by index or hex code, needed if colorType is colorPicker

      Show color properties
      • color string

        Color as hex string (only used if index: -1)

      • index number

        Index in palette

    • colorExpression ColorExpression

      Color defined by expression, needed if colorType is byExpression

      Show colorExpression properties
      • qStringExpression object
        Required
        Show qStringExpression properties
        • qExpr string
          Required

          expression that resolves to a supported color format

  • backgroundColor Background

    Color of the background, by default #ffffff

    Show backgroundColor properties
    • colorType 'auto'  |  'colorPicker'  |  'byExpression'

      How the background color is defined

    • Color defined by index or hex code, needed if colorType is colorPicker

    • colorExpression ColorExpression

      Color defined by expression, needed if colorType is byExpression

  • border Border

    Styling for border, by default #737373

    Show border properties
    • top boolean

      Set to true to show thicker top border

    • fullBorder boolean

      Set to true to show full border

    • colorType 'auto'  |  'colorPicker'  |  'byExpression'

      How the border color is defined

    • Color defined by index or hex code, needed if colorType is colorPicker

    • colorExpression ColorExpression

      Color defined by expression, needed if colorType is byExpression

FontColor object

Properties

  • colorType 'auto'  |  'colorPicker'  |  'byExpression'

    How the font color is defined

  • Color defined by index or hex code, needed if colorType is colorPicker

    Show color properties
    • color string

      Color as hex string (only used if index: -1)

    • index number

      Index in palette

  • colorExpression ColorExpression

    Color defined by expression, needed if colorType is byExpression

    Show colorExpression properties
    • qStringExpression object
      Required
      Show qStringExpression properties
      • qExpr string
        Required

        expression that resolves to a supported color format

Background object

Properties

  • colorType 'auto'  |  'colorPicker'  |  'byExpression'

    How the background color is defined

  • Color defined by index or hex code, needed if colorType is colorPicker

    Show color properties
    • color string

      Color as hex string (only used if index: -1)

    • index number

      Index in palette

  • colorExpression ColorExpression

    Color defined by expression, needed if colorType is byExpression

    Show colorExpression properties
    • qStringExpression object
      Required
      Show qStringExpression properties
      • qExpr string
        Required

        expression that resolves to a supported color format

Border object

Properties

  • top boolean

    Set to true to show thicker top border

  • fullBorder boolean

    Set to true to show full border

  • colorType 'auto'  |  'colorPicker'  |  'byExpression'

    How the border color is defined

  • Color defined by index or hex code, needed if colorType is colorPicker

    Show color properties
    • color string

      Color as hex string (only used if index: -1)

    • index number

      Index in palette

  • colorExpression ColorExpression

    Color defined by expression, needed if colorType is byExpression

    Show colorExpression properties
    • qStringExpression object
      Required
      Show qStringExpression properties
      • qExpr string
        Required

        expression that resolves to a supported color format

PaletteColor object

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

Properties

  • color string

    Color as hex string (only used if index: -1)

  • index number

    Index in palette

ColorExpression object

Format for using color expressions

Properties

  • qStringExpression object
    Required
    Show qStringExpression properties
    • qExpr string
      Required

      expression that resolves to a supported color format