lowerBounds and binUpperBounds Properties

By default, this report generates the histogram bins (ranges) automatically using a proprietary algorithm to reduce the effect of outliers. The lowerBounds and binUpperBounds are optional properties to allow the user to manually specify the bins instead of using this algorithm.

Both properties consist of a JSON object which contains 4 properties - eventCount, averageCountPerActiveDay, averageCountPerActiveWeek, and averageCountPerActiveMonth.

The lowerBounds object contains the lowest boundary in the leftmost bin in the histogram. The expected values inside the lowerBounds object are numeric. The eventCount value is an integer greater or equal to 1, while the other values are floating point numbers greater or equal to 0. Floating point numbers are expected to contain up to 2 decimal places, otherwise they are rounded.

The following is an example lowerBounds object:

{

    "eventCount": 1,

    "averageCountPerActiveDay": 0.1,

    "averageCountPerActiveWeek": 0.1,

    "averageCountPerActiveMonth": 0.1

}

The binUpperBounds property contains the upper boundaries of each bin in the histogram. The expected values inside the binUpperBounds object are arrays containing numeric values or a string containing “inf”. Each boundary must be higher than the one before it, and the first boundary must be greater than or equal to its corresponding value in lowerBounds. Similar to lowerBounds, the eventCount values are expected to be integers, while other values are expected to be floating point numbers with up to 2 decimal places.

The following is an example of the binUpperBounds object:

{

    "eventCount": [1, 2, 4, 8, 16, 32, "inf"],

    "averageCountPerActiveDay": [0.1, 0.2, 0.4, 0.6, 0.8, 1, 2, 4, 6, 10, 50, 100, "inf"],

    "averageCountPerActiveWeek": [0.1, 0.2, 0.4, 0.6, 0.8, 1, 2, 4, 6, 10, 50, 100, "inf"],

    "averageCountPerActiveMonth": [0.1, 0.2, 0.4, 0.6, 0.8, 1, 2, 4, 6, 10, 50, 100, "inf"]

}