Flexmonster Software License Agreement (“Agreement”) has been significantly revised and is effective as of September 30, 2024.
The following modifications were made:
The modified version of Flexmonster Software License Agreement is available here.
Downloading, installing, and/or continuing to use Flexmonster Software after September 30, 2024, constitutes Licensee’s acceptance of the terms and conditions of the modified version of Flexmonster Software License Agreement. If Licensee does not agree to any of these terms and conditions, they must cease using Flexmonster Software and must not download, install, use, access, or continue to access Flexmonster Software. By continuing to use Flexmonster Software or renewing the license under License Model or Maintenance after the effective date of any modifications to Agreement, Licensee accepts and agrees to be bound by the terms and conditions of the modified Agreement.
[starting from version: 2.9]
getMeasuresAsync(): Promise<Object[]>
Returns a Promise object that resolves to an array of measures selected in the slice. See the array’s structure in getMeasures.
pivot.getMeasuresAsync().then(measures => {
measures.forEach(
item => console.log(item);
);
});
/* getMeasuresAsync method returns array of objects
[
{
"aggregation": "sum",
"availableAggregations": [
"sum",
"count",
"distinctcount",
"average",
"median",
"product",
"min",
"max",
"stdevp",
"stdevs",
"percent",
"percentofcolumn",
"percentofrow",
"percentofparentcolumntotal",
"percentofparentrowtotal",
"index",
"differenceofcolumn",
"differenceofrow",
"%differenceofcolumn",
"%differenceofrow",
"runningtotalsofcolumn",
"runningtotalsofrow"
],
"caption": "Sum of Price",
"calculated": false,
"grandTotalCaption": "Total Sum of Price",
"uniqueName": "Price",
"type": "number"
}
]
*/
See an example on JSFiddle.
getMeasures
getAllMeasuresAsync
getAllHierarchiesAsync
getColumnsAsync
getRowsAsync
getReportFiltersAsync