AreaBaseline

interface AreaBaseline<X, Y>

Specifies baseline coordinates for drawing filled areas on line charts.

Inheritors

Types

Link copied to clipboard
data class ArbitraryLine<X, Y>(val values: List<Point<X, Y>>) : AreaBaseline<X, Y>

Specifies an arbitrary line to which the area should be drawn. The number of values and their x-axis coordinates must match the data provided to LineChart.

Link copied to clipboard
data class ConstantLine<X, Y>(val value: Y) : AreaBaseline<X, Y>

Specifies that the area should be drawn to a constant y-axis value across the x-axis range.