chart.getReportBySelectability()
Type: function()
Returns: Promise<object>
Creates a report with the number of selectable and unselectable places, by category.
let report = await chart.getReportBySelectability()
console.log(report)
{
"selectable": {
"count": 4141,
"byCategoryLabel": {
"Circle": 1513,
"Stalls": 1457,
"Arena": 731,
"Choir": 440,
"NO_CATEGORY": 0
},
"byCategoryKey": {
"31": 1513,
"33": 1457,
"34": 731,
"35": 440,
"NO_CATEGORY": 0
},
"byChannel": {
"NO_CHANNEL": 4100,
"channel1": 40,
"channel2": 1
}
},
"not_selectable": {
"count": 126,
"byCategoryLabel": {
"Circle": 2,
"Stalls": 101,
"Arena": 13,
"Choir": 10,
"NO_CATEGORY": 0
},
"byCategoryKey": {
"31": 2,
"33": 101,
"34": 13,
"35": 10,
"NO_CATEGORY": 0
},
"byChannel": {
"NO_CHANNEL": 0,
"LOCKED_CHANNEL": 4000,
"channel1": 41
}
}
}
NO_CHANNEL: places not in any channelLOCKED_CHANNELplaces in a channel that is not included in thechannelsarray.