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. The Lets-Plot JS library must be loaded once in the enclosing page's <head> for the fragment to render correctly.