ViewBox Layout - JavaScript

Description

Define the layout of a ViewBox control using a JavaScript function.

You can now specify that a ViewBox layout should be generated by JavaScript. This allows for dynamic layout generation where the HTML is constructed programmatically rather than using a static template.

When using this option, your JavaScript code can reference this.data, which contains the data source for the ViewBox.

ViewBox Layout JavaScript option
ViewBox Layout JavaScript option

Example

In the ViewBox Layout pane, select the Javascript radio button. Then, define your function to return the desired HTML string.