Types
Properties
Functions
Link copied to clipboard
abstract fun saveToFile(fileName: String, directory: Path = defaultPlotDir, plotTitle: String = title, extType: PlotIfc.ExtType = ExtType.PNG): File
Link copied to clipboard
Opens up a browser window and shows the contents of the plot within the browser. A temporary file is created to represent the plot for display within the browser.
Link copied to clipboard
Returns an embeddable HTML fragment (a <div> and inline <script>) suitable for compositing into a larger HTML page. Unlike toHTML, this does not include <html>, <head>, or <body> wrappers.
Link copied to clipboard
Returns a complete HTML document for the plot that carries its own copy of the Lets-Plot JS library, so it renders wherever it is put without the surrounding page doing anything.