Plotly Fragment
class PlotlyFragment(render: FlowContent.(renderer: PlotlyRenderer) -> Unit)
Content copied to clipboard
A custom HTML fragment including plotly container reference
Constructors
PlotlyFragment
Link copied to clipboard
fun PlotlyFragment(render: FlowContent.(renderer: PlotlyRenderer) -> Unit)
Content copied to clipboard
Properties
render
Link copied to clipboard
Extensions
makeFile
Link copied to clipboard
fun PlotlyFragment.makeFile(path: Path? = null, show: Boolean = true, title: String = "Plotly.kt", resourceLocation: ResourceLocation = ResourceLocation.LOCAL, additionalHeaders: List<PlotlyHtmlFragment> = emptyList())
Content copied to clipboard
The same as Plot.makeFile.
toPage
Link copied to clipboard
fun PlotlyFragment.toPage(vararg headers: PlotlyHtmlFragment = arrayOf(cdnPlotlyHeader), title: String = "Plotly.kt", renderer: PlotlyRenderer = StaticPlotlyRenderer): PlotlyPage
Content copied to clipboard