returns the current Pivot structure
object | the current Pivot structure |
const structure = $$("pivot").getStructure();
Format of an object being returned is the same as the structure
parameter of the constructor:
const structure = $$("pivot").getStructure();
/*
{
columns: ["year"],
filters: [ ... ],
groupBy: "year",
rows: ["form", 'name"],
values: [{name: "oil", operation: "min", color: "#e33fc7"}, ...]
}
*/