Axis Config
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
is Axis Line Required
: true if should show the axis and points on the line else false
should Ellipsize Axis Label
: true if should ellipsize the axis label at end else false
min Text Width To Ellipsize
: minimum width of the axis label post which label will be ellipsized
ellipsize At
: 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)