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.
Export a page html to a file.
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
Export a page html to a file.