getStackData method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

backendApi.getStackData(qPages, qMaxNbrCells)

Gets stacked data from the Qlik Associative Engine for this object. Only works for hypercubes with qMode = S.

Version history

Introduced 2.0

Parameters

Name Type Description
qPages Array An array of request page objects.
qMaxNbrCells Number Maximum number of cells at outer level.

Returns

A promise of stack data pages.

Tip: For more information regarding a promise, see https://code.angularjs.org/1.6.9/docs/api/ng/service/$q#the-promise-api.

Examples

Example:  

var requestPage = {
		qTop : 0,
		qLeft : 0,
		qWidth : 10,
		qHeight : count
	};

this.backendApi.getStackData([requestPage], 1000).then(function(dataPages) {
	....
});

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?