makeFile

fun Plot.makeFile(path: Path? = null, show: Boolean = true, resourceLocation: ResourceLocation = ResourceLocation.LOCAL, config: PlotlyConfig = PlotlyConfig())

Create a standalone html with the plot

Parameters

path

the reference to html file. If null, create a temporary file

resourceLocation

specifies where to store resources for page display

show

if true, start the browser after file is created

config

represents plotly frame configuration


fun PlotlyFragment.makeFile(path: Path? = null, show: Boolean = true, title: String = "Plotly.kt", resourceLocation: ResourceLocation = ResourceLocation.LOCAL, additionalHeaders: List<PlotlyHtmlFragment> = emptyList())

The same as Plot.makeFile.


fun PlotlyPage.makeFile(path: Path? = null, show: Boolean = true)

Export a page html to a file.

fun Plot.makeFile(path: <Error class: unknown class>, config: PlotlyConfig = PlotlyConfig())

Create a standalone html with the plot

Parameters

path

the reference to html file. If null, create a temporary file

show

if true, start the browser after file is created

config

represents plotly frame configuration


fun Plot.makeFile(path: String, config: PlotlyConfig = PlotlyConfig())


fun PlotlyPage.makeFile(path: <Error class: unknown class>)

Export a page html to a file.