chart.selectCategories()
Type: function(categoryIds)
Returns: Promise<void>
Selects all the objects in the categories. The parameter must be an array of strings, and the strings must be valid category IDs.
chart.selectCategories(['1', '2']);
Note that the promise does not resolve to an array of selected objects. Use onObjectSelected for that.