PlotlyPage

data class PlotlyPage(headers: Collection<PlotlyHtmlFragment>, fragment: PlotlyFragment, title: String, renderer: PlotlyRenderer)

A complete page including headers and title

Constructors

PlotlyPage
Link copied to clipboard
fun PlotlyPage(headers: Collection<PlotlyHtmlFragment>, fragment: PlotlyFragment, title: String = "Plotly.kt", renderer: PlotlyRenderer = StaticPlotlyRenderer)

Functions

render
Link copied to clipboard
fun render(): String

Properties

fragment
Link copied to clipboard
val fragment: PlotlyFragment
headers
Link copied to clipboard
val headers: Collection<PlotlyHtmlFragment>
renderer
Link copied to clipboard
val renderer: PlotlyRenderer
title
Link copied to clipboard
val title: String

Extensions

makeFile
Link copied to clipboard
fun PlotlyPage.makeFile(path: Path? = null, show: Boolean = true)
Export a page html to a file.