DisplayConfiguration

data class DisplayConfiguration(var rowsLimit: Int? = 20, var nestedRowsLimit: Int? = 5, var cellContentLimit: Int = 40, var cellFormatter: RowColFormatter<*, *>? = null, var headerFormatter: HeaderColFormatter<*>? = null, var decimalFormat: RendererDecimalFormat = RendererDecimalFormat.DEFAULT, var isolatedOutputs: Boolean = flagFromEnv("LETS_PLOT_HTML_ISOLATED_FRAME"), val localTesting: Boolean = flagFromEnv("KOTLIN_DATAFRAME_LOCAL_TESTING"), var useDarkColorScheme: Boolean = false, var enableFallbackStaticTables: Boolean = true, var downsizeBufferedImage: Boolean = true)

A collection of settings for rendering dataframes as HTML tables or native Kotlin Notebook table output.

Parameters

rowsLimit

null to disable rows limit

cellContentLimit

-1 to disable content trimming

enableFallbackStaticTables

true to add additional pure HTML table that will be visible only if JS is disabled; For example hosting *.ipynb files with outputs on GitHub

cellFormatter

Optional cell formatter applied to data cells during HTML rendering.

headerFormatter

Optional header formatter applied to column headers; supports inheritance for nested column groups.

Constructors

Link copied to clipboard
constructor(rowsLimit: Int? = 20, nestedRowsLimit: Int? = 5, cellContentLimit: Int = 40, cellFormatter: RowColFormatter<*, *>? = null, headerFormatter: HeaderColFormatter<*>? = null, decimalFormat: RendererDecimalFormat = RendererDecimalFormat.DEFAULT, isolatedOutputs: Boolean = flagFromEnv("LETS_PLOT_HTML_ISOLATED_FRAME"), localTesting: Boolean = flagFromEnv("KOTLIN_DATAFRAME_LOCAL_TESTING"), useDarkColorScheme: Boolean = false, enableFallbackStaticTables: Boolean = true, downsizeBufferedImage: Boolean = true)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
internal val localTesting: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

DSL accessor.