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: 
$("#diagram").ejDiagram({    
    selectedItems: { 
        //Hides rotator 
        constraints: ej.datavisualization.Diagram.SelectorConstraints.All & ~ej.datavisualization.Diagram.SelectorConstraints.Rotator, 
    }, 
}); 



Regards, 
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. 

Regards, 
Shyam G 


Loader.
Up arrow icon