Dataview

Dataview

new Dataview()

A Dataview is a join of Datasets

Source:

Extends

Members

(static, readonly) dataSelected :number

Number of datapoints that are currently selected

Source:
Type:
  • number

(static) datasetIds :Array.<String>

DatasetId's of active datasets

Source:
Type:
  • Array.<String>

(static, readonly) dataTotal :number

Total number of datapoints in the current dataview

Source:
Type:
  • number

(static) facets :Array.<Facet>

A Facet collection holding pre defined facets

Source:
Type:

(static) filters :Array.<Filter>

A Filter collection holding all active filters on the dataview

Source:
Type:

(static) isPaused :boolean

isPaused when true, calls to getAllData are ignored. This is useful to suppres calls to getData when adding and removing a number of filters at once.

Source:
Type:
  • boolean

Methods

(static) getData()

Get data for all filters linked to this dataview. When data has become available for a filter, a newData event is triggered on that filter.

Source:

(static) pause()

Pause the dataview. This means calls to getData are blocked. Useful when updating a lot of filters and you are not interested in the intermediate state.

Source:

(static) play()

Unpause the dataview.

Source: