Group

Group

new Group()

A Group represents a value a Facet can take: For continuous or time facets, it represents an interval. For categorial facets, it is a single label.

The Facet.groups collection is used for plotting, to deterime the postion along the axis. Selections can be updated using a Group.

Source:

Extends

Members

(static) isSelected :boolean

Boolean indicating if this group is currently selected

Type:
  • boolean
Source:

(static) label :string

Label for display

Type:
  • string
Source:

(static) max :number

For continuous or time facets. Upper limit of interval

Type:
  • number
Source:

(static) min :number

For continuous or time facets. Lower limit of interval

Type:
  • number
Source:

(static) value :string|number

A value guaranteed to be in this group, used to check if this group is currently selected.

Type:
  • string | number
Source: