возвращает настройки Pivot
| object | настройки Pivot |
const structure = $$("pivot").getStructure();
Структура и поля возвращаемого объекта идентичны тем, которые принимает свойство конструктора structure:
const structure = $$("pivot").getStructure();
/*
{
columns: ["year"],
filters: [
{
name: "continent",
value: {
condition: {
"filter": "c",
"type": "notContains"
},
includes: [
"Europe",
"Asia"
]
}
}
],
groupBy: "year",
rows: ["form", 'name"],
values: [{name: "oil", operation: "min", color: "#e33fc7"}, ...]
}
*/