Widgets.Connection / Heatmap Widget

In addition to the Widgets.Base these options are available in the API for the Connection Widget.

Widgets.Connection

The Connection widget (Heatmap) draws a matrix of integral values, and automatically calculates the background for each cell, according to its value (intensity).

In addition to the Widgets.Base these options are available in the API for the Connection Widget.

Data postprocessing

postProcessData

The method will be called just before the data is about to be displayed, allowing the cells to be changed, new rows and columns to be added, and sorting to be performed.

Example
postProcessData: function (payload) {
	payload.labelsX.sort();
	payload.matrix[0][1] = 1;
	payload.matrix.push([1, 2, 3, 4]);	
	return payload;
},