Scatter plot in angular

I need to display scatter plot chart using plotly js library with angular.
Need single and double click on legend functionality
And also need to hide mode bar with icons and top.

Scatter selection should be of box type as well as need selection and deselect events to get triggered. Need the data when selected and unselected