plotDiv

fun TagConsumer<HTMLElement>.plotDiv(plotlyConfig: PlotlyConfig = PlotlyConfig(), plot: Plot): PlotlyElement

Create a div element and render plot in it


inline fun TagConsumer<HTMLElement>.plotDiv(plotlyConfig: PlotlyConfig = PlotlyConfig(), plotBuilder: Plot.() -> Unit): PlotlyElement

Render plot in the HTML element using direct plotly API.