ebs.generateChart
Displays a predefined chart.
Syntax
| Parameter | Type | Description |
|---|---|---|
htmlid
|
string | ID of the parent HTML element where the chart will be injected. |
chartName
|
string | Name of a predefined chart that will be displayed. |
context
|
any | |
callback
|
any | Callback function to run after the chart is generated. |
Examples
In this example:
- We edit the page template of a form driven flow section to include an empty div element with the myChart ID.
- In the section's After Generate tab, we include the following code that injects the predefined mktSalesByRegion chart in the div element when the section is displayed: