SandDance

Class Viewer

Component to view a SandDance data visualization.

Hierarchy

  • Viewer

Index

Constructors

constructor

Properties

colorContexts

colorContexts: ColorContext[]

Color contexts. There is only one color context until data is filtered, after which colors may be re-mapped in another color context.

currentColorContext

currentColorContext: number

Index of current color context. Change this and then call renderSameLayout().

element

element: HTMLElement

insight

insight: Insight

Insight object for chart layout.

options

options: ViewerOptions

Viewer options object.

presenter

presenter: Presenter

Presenter which does the rendering.

setup

setup: Setup

Setup object for visual rendering of Insight.

specCapabilities

specCapabilities: SpecCapabilities

Behavior specified by the visualization type.

vegaSpec

vegaSpec: Spec

Vega specification.

vegaViewGl

vegaViewGl: ViewGl_Class

Vega View instance.

Static defaultViewerOptions

defaultViewerOptions: ViewerOptions = ...

Default Viewer options.

Methods

activate

  • activate(datum: object): Promise<void>

assignTransitionStagger

  • assignTransitionStagger(transition: Transition): void

deActivate

  • deActivate(): Promise<void>

deselect

  • deselect(): Promise<void>

filter

  • filter(search: Search, rebase?: boolean): Promise<void>

finalize

  • finalize(): void

getCamera

  • getCamera(transitionFinal?: boolean): Camera
  • Gets the current camera.

    Parameters

    • transitionFinal: boolean = false

      Optional flag to get camera destination when transition completes.

    Returns Camera

getColumnStats

getInsight

getSelection

getSignalValues

render

renderSameLayout

  • renderSameLayout(newViewerOptions?: Partial<ViewerOptions>): void

reset

  • reset(): Promise<void>

select

  • select(search: Search): Promise<void>

setCamera

  • setCamera(camera: Camera): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc