Interface ViewerOptions
Hierarchy
-
SpecViewOptions
- ViewerOptions
Index
Properties
Methods
Properties
Optional collapseFacetAxes
colors
Custom colors of various parts of the visualization.
Optional disableLasso
Disable lasso selection.
Optional filterRenderingTimerPadding
Optional fontFamily
Font family of text elements.
language
Language settings for the visualization.
maxLegends
Maximum number of rows in a legend.
Optional preserveDrawingBuffer
Optional flag to preserve the WebGL canvas.
selectionPolygonZ
Z value of selection polygons.
tickSize
Optional tooltipOptions
Tooltip options
Optional zAxisOptions
Methods
Optional getTextColor
-
Optional handler to get the color of text elements.
Parameters
Returns RGBAColor
Optional getTextHighlightColor
-
Optional handler to get the highlight color of text elements.
Parameters
Returns RGBAColor
Optional onAxisClick
-
Optional handler when axis is clicked.
Parameters
-
e: MouseEvent | PointerEvent | TouchEvent
-
search: SearchExpressionGroup<SearchExpression>
Returns void
-
Optional onBeforeCreateLayers
-
Optional handler to modify the stage prior to deck.gl layer construction.
Parameters
-
stage: Stage
-
specCapabilities: SpecCapabilities
Returns void
-
Optional onCanvasClick
-
Optional handler when empty canvas is clicked.
Parameters
-
e: MouseEvent | PointerEvent | TouchEvent
Returns void
-
Optional onColorContextChange
-
Optional handler when color context changes.
Returns void
Optional onCubeClick
-
Optional handler when cube is clicked.
Parameters
-
e: MouseEvent | PointerEvent | TouchEvent
-
cube: Cube
Returns void
-
Optional onDataFilter
-
Optional handler to be invoked when data is filtered.
Parameters
-
filter: Search
-
filteredData: object[]
Returns void
-
Optional onError
-
Optional error handler.
Parameters
-
errors: string[]
Returns void
-
Optional onLegendHeaderClick
-
Optional handler when legend header is clicked.
Parameters
-
e: MouseEvent | PointerEvent | TouchEvent
Returns void
-
Optional onLegendRowClick
-
Optional handler when legend row is clicked.
Parameters
-
e: MouseEvent | PointerEvent | TouchEvent
-
legendRow: LegendRowWithSearch
Returns void
-
Optional onNewViewStateTarget
-
Optional handler to reset the camera after chart is rendered.
Returns boolean
Optional onPresent
-
Optional handler when chart is presented.
Returns void
Optional onSelectionChanged
-
Optional handler to be invoked when selection has changed.
Parameters
-
search: Search
-
Optional activeIndex: number
-
Optional selectedData: object[]
Returns void
-
Optional onStage
-
Optional handler when data is on stage.
Parameters
-
stage: Stage
Returns void
-
Optional onTextClick
-
Optional click handler for text elements.
Parameters
-
e: MouseEvent | PointerEvent | TouchEvent
-
o: VegaTextLayerDatum
Returns void
-
Optional onVegaSpec
-
Optional handler when Vega spec is created, prior to it being rendered.
Parameters
-
vegaSpec: Spec
Returns void
-
Generated using TypeDoc
Customization options for the Viewer.