InteractionTooltipConfig

data class InteractionTooltipConfig(val isLongPressDragEnabled: Boolean = false, val textStyle: TextStyle? = null, val textColor: ChartColor = ChartColor.Solid(Color.White), val containerColor: ChartColor = ChartColor.Gradient( listOf( Color(0xFFCB356B), Color(0xFFBD3F32) ) ), val indicatorLineWidth: Float = 5.0f, val indicatorLineColor: ChartColor = ChartColor.Gradient( listOf( Color(0xFFFFFFFF), Color(0xFFff6a00) ) ), val indicatorLinePathEffect: PathEffect? = PathEffect.dashPathEffect(floatArrayOf(10f, 10f), 0f))

Configuration for the interaction tooltip.

Constructors

Link copied to clipboard
constructor(isLongPressDragEnabled: Boolean = false, textStyle: TextStyle? = null, textColor: ChartColor = ChartColor.Solid(Color.White), containerColor: ChartColor = ChartColor.Gradient( listOf( Color(0xFFCB356B), Color(0xFFBD3F32) ) ), indicatorLineWidth: Float = 5.0f, indicatorLineColor: ChartColor = ChartColor.Gradient( listOf( Color(0xFFFFFFFF), Color(0xFFff6a00) ) ), indicatorLinePathEffect: PathEffect? = PathEffect.dashPathEffect(floatArrayOf(10f, 10f), 0f))

Properties

Link copied to clipboard

Background color for the tooltip container.

Link copied to clipboard

Color of the indicator line.

Link copied to clipboard

Path effect for the indicator line.

Link copied to clipboard

Width of the indicator line.

Link copied to clipboard

Whether long press drag is enabled.

Link copied to clipboard

Text color for the tooltip text.

Link copied to clipboard
val textStyle: TextStyle? = null

Text style for the tooltip text.