Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4

In addition to the Widgets.Base these options are available in the API for the Cards 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;
},

  • No labels