config

abstract fun config(init: ChartConfig.() -> Unit)

Allow to override the default config or the config passed into the Chart.

abstract val config: ChartConfig

The main configuration object ChartConfig, stores all configurations for the underlying marks, axes, ... The ChartConfig holds information about:

  • The styling of this Chart: fonts, colors, padding..

  • The interactivity of this Chart: zoom, selection, cursor...

  • etc...

You can build your own ChartConfig or uses some default ones: