binning-range

Specifies a range of numeric values that should be gathered together in the same refinement/bin

Description

A binning-range may specify an upper bound, a lower bound, or both. It may also specify an interval at which the bins should be split into multiple bins.

Attributes

  • high (Decimal number) - An upper bound for this bin. If not specified, it is infinity.
  • low (Decimal number) - A lower bound for this bin. If not specified, it is negative infinity.
  • interval (Decimal number) - An interval at which to split into multiple bins. For example, a binning range with a low attribute of 0, a high attribute of 100 and an interval of 10 may produce bins of ranges 0-10, 10-20, 20-30, etc.
  • label (Text) - A static label for the binning range.
  • br-id (Text) - An id unique in this binning-set that is assigned by the Watson™ Explorer software.
  • label-xpath (Text) - An XPath expression evaluated for each range bin to create a label. Two variables are defined in the context of the XPath when it is evaluated: $low and $high. These variables evaluate to the lower and upper bound of this individual bin (not the entire binning-range). Usage: This functionality is deprecated
  • number-label-xpath (Text) - An XPath expression evaluated for each range bin to create a label for the lower and upper bounds of the bin. Two variables are defined in the context of the XPath when it is evaluated: $value and $which. The variable $value is the numeric value to be formatted, and the variable $which can be either the string high or the string low, depending on the value that is being formatted.
  • number-label-connector (Text default: -) - A string used to connect the low and high labels of a binning-range.

Children

  • Use these in the listed order. The sequence may not repeat.
    • scope: (Exactly 1) - Variable scope