Home > @plotex/render-dom > renderDOM

renderDOM() function#

Render the plot to a DOM node.

Signature:
export declare function renderDOM(this: IPlotAPI, parentEl: HTMLElement): Promise<IChart>;

Parameters#

ParameterTypeDescription
thisIPlotAPI
parentElHTMLElement
Returns:

Promise<IChart>