plot

fun FlowContent.plot(plot: Plot, plotId: String = plot.toString(), config: PlotlyConfig = PlotlyConfig(), renderer: PlotlyRenderer = StaticPlotlyRenderer): Plot
fun FlowContent.plot(plotId: String? = null, config: PlotlyConfig = PlotlyConfig(), renderer: PlotlyRenderer = StaticPlotlyRenderer, builder: Plot.() -> Unit): Plot
fun Element.plot(plotlyConfig: PlotlyConfig = PlotlyConfig(), plot: Plot)

Attach a plot to this element or update the existing plot


inline fun Element.plot(plotlyConfig: PlotlyConfig = PlotlyConfig(), plotBuilder: Plot.() -> Unit)

Create a plot in this element


fun Element.plot(plot: Plot, plotlyConfig: PlotlyConfig = PlotlyConfig())

Deprecated

Change arguments positions

Replace with

plot(plotlyConfig, plot)