src/js/state.js
function removeAllSelections(chart) {
      service.disableSelectionListener = true;
      chart.unselect();
      service.disableSelectionListener = false;
    }
function removeAllSelections(chart) {
      service.disableSelectionListener = true;
      chart.unselect();
      service.disableSelectionListener = false;
    }
Remove passed selections from the chart.
 function removeSelections(chart, selections) { disableSelectionListener = true; selections.forEach(function (selection) { chart.unselect([selection.id], [selection.index]); }); disableSelectionListener = false; } 
Remove all selections present in the chart.