Plot
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Use external plotly-orca (https://github.com/plotly/orca) tool to export static image. The tool must be installed externally (for example via conda) and usage patterns could differ for different systems.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Plot.makeFile(path: Path? = null, show: Boolean = true, resourceLocation: ResourceLocation = ResourceLocation.LOCAL, config: PlotlyConfig = PlotlyConfig())
Create a standalone html with the plot
Create a standalone html with the plot
Link copied to clipboard
fun Plot.toHTML(vararg headers: PlotlyHtmlFragment = arrayOf(cdnPlotlyHeader), config: PlotlyConfig = PlotlyConfig()): String
Create a html (including headers) string from plot
Link copied to clipboard
Convert a plot to Json representation specified by Plotly newPlot
command.
Link copied to clipboard
fun Plot.toPage(vararg headers: PlotlyHtmlFragment = arrayOf(cdnPlotlyHeader), config: PlotlyConfig = PlotlyConfig.empty(), title: String = "Plotly.kt", renderer: PlotlyRenderer = StaticPlotlyRenderer): PlotlyPage
Convert a plot to the sigle-plot page