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.
getAllMeasures(): Array
[starting from version: 1.4]
Returns a list of all available measures. Note that getAllMeasures
has an async equivalent - getAllMeasuresAsync.
Array of ResultMeasureObjects that describe available measures.
If data load is in progress an empty array will be returned.
pivot.getAllMeasures();
/* method returns an array of ResultMeasureObjects, where the 2nd measure is calculated
[
{
aggregation: "sum",
availableAggregations: ["sum", "count", "distinctcount", "average", "product", "min", "max", "percent", "percentofcolumn"],
availableAggregationsCaptions: ["Sum", "Count", "Distinct Count", "Average", "Product", "Min", "Max", "Percent", "Percent of Column"],
caption: "Sum of Sales",
format: "currency",
grandTotalCaption: "Total Sum of Sales",
name: "Sales",
type: "number",
uniqueName: "Sales"
},
{
aggregation: "none",
availableAggregations: [ ],
availableAggregationsCaptions: [ ],
caption: "Test",
format: "",
formula: "(SUM("Price") / count("Price")) * 100",
grandTotalCaption: "Total Test",
name: "Test",
type: "number",
uniqueName: "Test"
}
]
*/
Try on JSFiddle.
getAllMeasuresAsync
getMeasures
getAllHierarchies
getColumns
getRows
getReportFilters