Class: DefaultSorter

jheatmap.sorters.DefaultSorter

new DefaultSorter

This is the default sorter. In fact it's a NO sorter, because it don't do anything. It's also the signature that all the sorters must implement.

Source:
  • ../js/jheatmap-1.0.0.js, line 1834
Example
new jheatmap.sorters.DefaultSorter();

Methods

sort

Sort the heatmap

Parameters:
Name Type Description
heatmap jheatmap.Heatmap The heatmap to sort
sortType string "rows" or "columns"
Source:
  • ../js/jheatmap-1.0.0.js, line 1846