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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to remove rotationHandle for node

Thread ID:

Created:

Updated:

Platform:

Replies:

125210 Jul 30,2016 12:48 AM UTC Aug 2,2016 04:08 AM UTC JavaScript 3
loading
Tags: ejDiagram
Wanlop
Asked On July 30, 2016 12:48 AM UTC

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

Shyam G [Syncfusion]
Replied On 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 


Wanlop
Replied On August 1, 2016 04:42 AM UTC

Perfect !!!!

Shyam G [Syncfusion]
Replied On August 2, 2016 04:08 AM UTC

Hi Wanlop, 

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

Regards, 
Shyam G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;