AxisConfig

data class AxisConfig(val isAxisLineRequired: Boolean = true, val shouldEllipsizeAxisLabel: Boolean = false, val minTextWidthToEllipsize: Dp = 40.dp, val ellipsizeAt: TextUtils.TruncateAt = TextUtils.TruncateAt.END)

AxisConfig data class used to mention all config related param required to draw graph.

Parameters

isAxisLineRequired

: true if should show the axis and points on the line else false

shouldEllipsizeAxisLabel

: true if should ellipsize the axis label at end else false

minTextWidthToEllipsize

: minimum width of the axis label post which label will be ellipsized

ellipsizeAt

: position at which the label will be truncated or ellipsized

Constructors

Link copied to clipboard
constructor(isAxisLineRequired: Boolean = true, shouldEllipsizeAxisLabel: Boolean = false, minTextWidthToEllipsize: Dp = 40.dp, ellipsizeAt: TextUtils.TruncateAt = TextUtils.TruncateAt.END)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard