You add HTML to the chart using
Framework.ChartChange({
mode: "active", // or "all", or "single" plus a .chartId value
command: "create-html",
options: {
foreground: true,
html: "<html><body>Hello!</body></html>"
}
});
(A second use of
The
| Property | Description |
| html | Text of the HTML to add; a complete document with |
| url | URL of a web page to load. Standard browser security requires that this is hosted at a secure https:// address. |
| asDockItem | If true, loads your HTML into the chart's "dock" area (as used by the built-in Market Timer and Notepad indicators, for example). If not set, your HTML is loaded as an on-chart panel positioned using the |
| dockTitle | Only applicable if |
| foreground | Not applicable if |
| style | Not applicable if style: {opacity: 0.5, pointerEvents: "none"} You cannot set the CSS |