Treemap Status
subscribe('cellHover', function(cellData))
This method indicates when a cell is hovered over such that the mouse over box is displayed.
Example:
// Cell hover event
flaremapServices.subscribe('cellHover', function(cellData) {
console.log('Cell hover event!', cellData);
});
subscribe('treemapInitialDraw', function())
This method indicates when the treemap field is drawn for the first time.
Example:
// Initial treemap drawing event
flaremapServices.subscribe('treemapInitialDraw', function() {
console.log('Initial treemap draw event!');
});
subscribe('treemapDraw', function())
This method indicates when the treemap field is re-drawn.
Example:
// Every treemap drawing event
flaremapServices.subscribe('treemapDraw', function() {
console.log('Another treemap draw event!');
});