Package-level declarations
Types
Link copied to clipboard
interface Decoration
A Decoration presents additional information on a Chart.
Link copied to clipboard
data class ThresholdLine(val thresholdRange: ClosedFloatingPointRange<Float>, val thresholdLabel: CharSequence = RANGE_FORMAT.format(
decimalFormat.format(thresholdRange.start),
decimalFormat.format(thresholdRange.endInclusive),
), val lineComponent: ShapeComponent = ShapeComponent(), val minimumLineThicknessDp: Float = DefaultDimens.THRESHOLD_LINE_THICKNESS, val labelComponent: TextComponent = textComponent(), val labelHorizontalPosition: ThresholdLine.LabelHorizontalPosition = LabelHorizontalPosition.Start, val labelVerticalPosition: ThresholdLine.LabelVerticalPosition = LabelVerticalPosition.Top, val labelRotationDegrees: Float = 0.0f) : Decoration
ThresholdLine is drawn on top of charts and marks a certain range of y-axis values.