7.1 Adding HTML

You add HTML to the chart using UDI.createHTML(). For example:

UDI.createHTML({
	foreground: true,
	html: "<html><body>Hello!</body></html>"
});

A second call to UDI.createHTML() replaces the previous HTML with the new HTML. You can remove your HTML from the chart using UDI.removeHTML().

The options which are passed to UDI.createHTML() can contain the following properties. You must provide either the html or url.

Last updated