Options
All
  • Public
  • Public/Protected
  • All
Menu

Qlik integration element powered by nebula.js library.

Example of usage

Show existing viz.

export const component: DraymanComponent = async ({ forceUpdate }) => {
    return () => {
        return (
            <div style={{ height: 500 }}>
                <drayman-nebula
                    qLayout={{}}
                />
            </div>
        )
    }
}

Hierarchy

Index

Properties

Optional nebulaPackagesUrl

nebulaPackagesUrl: string

Custom URL for Nebula packages. By default, Nebula packages are loaded from https://unpkg.com/@nebula.js/PACKAGE_NAME.

Optional onClearField

onClearField: ElementEvent<{ fieldId: any }>

Executed when field values needs to be cleared

Optional onEvaluate

onEvaluate: ElementEvent<{ expression: string }>

Optional onGetFieldDescription

onGetFieldDescription: ElementEvent<{ fieldId: string }>

Executed when field values needs to be returned

Optional onGetMeasure

onGetMeasure: ElementEvent<{ measureId: string }>

Executed when measure needs to be returned

Optional onGetObject

onGetObject: ElementEvent<{ objectId: string }>

Executed when object needs to be returned

Optional onSelectFieldValues

onSelectFieldValues: ElementEvent<{ arr: any; fieldId: any; softlock: any; toggle: any }>

Executed when field values needs to be selected

Optional onSelections

onSelections: ElementEvent<{ method: "selectHyperCubeValues" | "rangeSelectHyperCubeValues"; selections: any }>

Executed when user makes selections.

Optional onVizMethod

onVizMethod: ElementEvent<{ args: any; name: "getEffectiveProperties" | "getHyperCubeReducedData" | "getHyperCubeData" | "getHyperCubeStackData" }>

Executed when viz method must be called.

Optional qEffectiveProperties

qEffectiveProperties: { properties: any; qId: string }

Effective properties of the object, read on the server together with one layout. qId is that layout's qInfo.qId. While that layout is shown, the chart's getEffectiveProperties is answered from properties instead of onVizMethod.

Type declaration

  • properties: any
  • qId: string

qLayout

qLayout: any

Initial qLayout of the object to render.

Optional ref

ref: string

Optional style

style: CSS

theme

theme: any