LetsPlotIframeConfig

iframe sizing and caching settings for letsPlot{} DSL calls. Merged with global + presentation defaults at render time.

The width / height here must stay compatible with the plot size passed to letsPlot() (the Dimensions argument) — mismatched values will cause clipping or whitespace around the plot.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

iframe height attribute. Blank omits the attribute.

Link copied to clipboard

Values consumed by kslides itself (theme, highlight plugin, corner links, iframe sizing, etc.).

Link copied to clipboard

Values that correspond to documented reveal.js config options.

Link copied to clipboard

When true, the rendered plot HTML is cached for the lifetime of the com.kslides.KSlides instance so the same figure is not recomputed on every HTTP request. Set to false for plots whose data changes over time.

Link copied to clipboard

Inline CSS applied to the iframe. Useful for borders while tuning size.

Link copied to clipboard

Accessible title text for screen readers.

Link copied to clipboard

iframe width attribute. Defaults to "100%" of the slide area.

Functions

Link copied to clipboard
fun merge(other: AbstractConfig)

Copy all entries from other's maps into this config's maps. Later puts overwrite earlier ones.