chart.deselectCategories()

Type: function(categoryIds)
Returns: Promise<void>

Deselects all the objects in the categories. The parameter must be an array of strings, and the strings must be valid category IDs.

chart.deselectCategories(['1', '2']);

Note that the promise does not resolve to an array of deselected objects. Use onObjectDeselected for that.