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.
Unfortunately, activation email could not send to your email. Please try again.

How to remove rotationHandle for node

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 12:26 AM

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 12:42 AM

Perfect !!!!

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

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.

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.

;