Plotly

object Plotly

A namespace for utility functions

Functions

plot
Link copied to clipboard
common
inline fun plot(block: Plot.() -> Unit): Plot

Properties

PLOTLY_CDN
Link copied to clipboard
common
const val PLOTLY_CDN: String
VERSION
Link copied to clipboard
common
const val VERSION: String

Extensions

display
Link copied to clipboard
fun Plotly.display(pageBuilder: FlowContent.(renderer: PlotlyRenderer) -> Unit)
fragment
Link copied to clipboard
fun Plotly.fragment(content: FlowContent.(renderer: PlotlyRenderer) -> Unit): PlotlyFragment
grid
Link copied to clipboard
fun Plotly.grid(block: PlotGrid.() -> Unit): PlotlyPage
page
Link copied to clipboard
fun Plotly.page(vararg headers: PlotlyHtmlFragment = arrayOf(cdnPlotlyHeader), title: String = "Plotly.kt", renderer: PlotlyRenderer = StaticPlotlyRenderer, content: FlowContent.(renderer: PlotlyRenderer) -> Unit): PlotlyPage
Create a complete page including plots
tabs
Link copied to clipboard
fun Plotly.tabs(tabsID: String = "tabs", block: PlotTabs.() -> Unit): PlotlyPage