Articles in this section

How to Set Margin Between the Symbol and Text in Vue Diagram Palettes?

This article explains how to set the margin between the symbol and text in Vue diagram palettes.

The Syncfusion® Vue Diagram Symbol Palette provides an option to display a description for symbols.
You can customize the spacing between the symbol and its description using the margin property in the getSymbolInfo function.

Below is a code example of adding a margin between the symbol and its description:

function getSymbolInfo(symbol) {
 return {
   description: {
     text: symbol.annotations[0].content,
     margin: { top: 40, left: 0, right: 0, bottom: 20 },
   }
 };
} 

Refer to the working sample for additional details and implementation: Click Here

Conclusion

We hope you enjoyed learning how to set margin between the symbol and text in Vue Diagram Palettes.

You can refer to our Vue Diagram feature tour page to learn about its other groundbreaking feature representations and documentation to quickly get started with configuration specifications. You can also explore our Vue Diagram example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, BoldDesk Support, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied