Class: Median

jheatmap.aggregators.Median

new Median

Median aggregator.

Parameters:
Name Type Argument Default Description
p.maxValue number <optional>
3 Absolute maximum and minimum median value.
Source:
  • ../js/jheatmap-1.0.0.js, line 1270
Example
new jheatmap.aggregators.Median({ maxValue: 4 });

Methods

accumulate

accumulates all the values

Parameters:
Name Type Description
values Array The values to accumulate
Source:
  • ../js/jheatmap-1.0.0.js, line 1279