Tooltip Options
data class TooltipOptions(val enabled: Boolean = true, val external: (ctx: TooltipContext) -> Unit? = null, val mode: InteractionMode? = null, val intersect: Boolean? = null, val position: TooltipPosition? = null, val callbacks: TooltipCallback? = null, val filter: (e: TooltipItem, index: Number, array: Array<TooltipItem>, data: ChartData) -> Boolean? = null, val itemSort: (a: TooltipItem, b: TooltipItem, data: ChartData) -> Number? = null, val backgroundColor: <Error class: unknown class>? = null, val titleColor: <Error class: unknown class>? = null, val titleFont: ChartFont? = null, val titleAlign: TooltipAlign? = null, val titleSpacing: Int? = null, val titleMarginBottom: Int? = null, val bodyColor: <Error class: unknown class>? = null, val bodyFont: ChartFont? = null, val bodyAlign: TooltipAlign? = null, val bodySpacing: Int? = null, val footerColor: <Error class: unknown class>? = null, val footerFont: ChartFont? = null, val footerAlign: TooltipAlign? = null, val footerSpacing: Int? = null, val footerMarginTop: Int? = null, val padding: LayoutPaddingObject? = null, val caretPadding: Int? = null, val caretSize: Int? = null, val cornerRadius: Int? = null, val multiKeyBackground: <Error class: unknown class>? = null, val displayColors: Boolean? = null, val boxWidth: Int? = null, val boxHeight: Int? = null, val boxPadding: Number? = null, val usePointStyle: Boolean? = null, val borderColor: <Error class: unknown class>? = null, val borderWidth: Int? = null, val rtl: Boolean? = null, val textDirection: TextDirection? = null, val xAlign: TooltipAlign? = null, val yAlign: TooltipAlign? = null)
Chart tooltip options.
Constructors
Link copied to clipboard
constructor(enabled: Boolean = true, external: (ctx: TooltipContext) -> Unit? = null, mode: InteractionMode? = null, intersect: Boolean? = null, position: TooltipPosition? = null, callbacks: TooltipCallback? = null, filter: (e: TooltipItem, index: Number, array: Array<TooltipItem>, data: ChartData) -> Boolean? = null, itemSort: (a: TooltipItem, b: TooltipItem, data: ChartData) -> Number? = null, backgroundColor: <Error class: unknown class>? = null, titleColor: <Error class: unknown class>? = null, titleFont: ChartFont? = null, titleAlign: TooltipAlign? = null, titleSpacing: Int? = null, titleMarginBottom: Int? = null, bodyColor: <Error class: unknown class>? = null, bodyFont: ChartFont? = null, bodyAlign: TooltipAlign? = null, bodySpacing: Int? = null, footerColor: <Error class: unknown class>? = null, footerFont: ChartFont? = null, footerAlign: TooltipAlign? = null, footerSpacing: Int? = null, footerMarginTop: Int? = null, padding: LayoutPaddingObject? = null, caretPadding: Int? = null, caretSize: Int? = null, cornerRadius: Int? = null, multiKeyBackground: <Error class: unknown class>? = null, displayColors: Boolean? = null, boxWidth: Int? = null, boxHeight: Int? = null, boxPadding: Number? = null, usePointStyle: Boolean? = null, borderColor: <Error class: unknown class>? = null, borderWidth: Int? = null, rtl: Boolean? = null, textDirection: TextDirection? = null, xAlign: TooltipAlign? = null, yAlign: TooltipAlign? = null)
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val filter: (e: TooltipItem, index: Number, array: Array<TooltipItem>, data: ChartData) -> Boolean? = null
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
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard