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.
Syncfusion Feedback

How to create a Symbol palette size in percentage

Creation of Symbol palette with different types of unit.

SymbolPalette provides a support to set the symbol palette size in two ways either percentage or pixel. If you set the symbol palette size in percentage, it will automatically converted to pixel size based on the parent element and the same will be applied as a symbolpalette size.

The following code illustrates how to create a symbol palette size in percentage.

[JS]

 

The following code illustrates how to set the symbol palette size in pixel.

[JS]

 

Please refer the below JS Playground link for your reference.

http://jsplayground.syncfusion.com/aenbdqtn

 

Article ID: Published Date: Last Revised Date: Platform: Control:
5694 11/13/2015 11/13/2015 JavaScript ejDiagram
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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