We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to remove rotationHandle for node

My diagram does NOT need rotationHandle at all.
How to remove/hide (not just draw with gray icon for ~ej.datavisualization.Diagram.NodeConstraints.Rotate

3 Replies

SG Shyam G Syncfusion Team August 1, 2016 04:26 AM UTC

Hi Wanlop, 

Please use selectorConstraints to achieve your requirement. please refer to the below code example, JSPlayground link and help documentation. 

Code example: 
    selectedItems: { 
        //Hides rotator 
        constraints: ej.datavisualization.Diagram.SelectorConstraints.All & ~ej.datavisualization.Diagram.SelectorConstraints.Rotator, 

Shyam G 

WA Wanlop August 1, 2016 04:42 AM UTC

Perfect !!!!

SG Shyam G Syncfusion Team August 2, 2016 04:08 AM UTC

Hi Wanlop, 

Please let me know if you need further assistance on this. 

Shyam G 

Live Chat Icon For mobile
Up arrow icon