Class: RangedBucket

OM.style. RangedBucket


new RangedBucket(config)

This class defines a Ranged bucket. A ranged bucket typically has two values
representing the two ends (low, high) of a continuous numeric range.

Parameters:
Name Type Description
config Object

A config object with the following attributes:


  • low {float} The low value for this range

  • high {float} The high value for this range

  • includeHighValue {boolean} Whether the high value should be inclusive. By default
    the high value of a bucket is not inclusive.
Returns:

An instance of OM.style.RangedBucket

Type
OM.style.RangedBucket

Extends

Methods


clone()

Returns a clone of this bucket.

Inherited From: