Package-level declarations

Types

Link copied to clipboard
fun interface AutoScrollCondition

Defines when an automatic scroll should be performed.

Link copied to clipboard
open class CartesianChart(layers: CartesianLayer<*>, startAxis: Axis<Axis.Position.Vertical.Start>? = null, topAxis: Axis<Axis.Position.Horizontal.Top>? = null, endAxis: Axis<Axis.Position.Vertical.End>? = null, bottomAxis: Axis<Axis.Position.Horizontal.Bottom>? = null, val marker: CartesianMarker? = null, markerVisibilityListener: CartesianMarkerVisibilityListener? = null, val layerPadding: CartesianLayerPadding = CartesianLayerPadding(), legend: Legend<CartesianMeasuringContext, CartesianDrawingContext>? = null, fadingEdges: FadingEdges? = null, decorations: List<Decoration> = emptyList(), persistentMarkers: CartesianChart.PersistentMarkerScope.(ExtraStore) -> Unit? = null, getXStep: (CartesianChartModel) -> Double = { it.getXDeltaGcd() }) : CartesianLayerInsetter<CartesianChartModel>

A chart based on a Cartesian coordinate plane, composed of CartesianLayers.

Link copied to clipboard
Link copied to clipboard

Enables a CartesianChart component to make room for itself around the CartesianLayer area.

Link copied to clipboard
class CartesianLayerPadding(scalableStartDp: Float = 0.0f, scalableEndDp: Float = 0.0f, unscalableStartDp: Float = 0.0f, unscalableEndDp: Float = 0.0f)

Stores CartesianLayer padding values. scalableStartDp and scalableEndDp are multiplied by the zoom factor, unlike unscalableStartDp and unscalableEndDp.

Link copied to clipboard
Link copied to clipboard
open class FadingEdges(startEdgeWidthDp: Float = FADING_EDGE_WIDTH_DP, endEdgeWidthDp: Float = FADING_EDGE_WIDTH_DP, visibilityThresholdDp: Float = FADING_EDGE_VISIBILITY_THRESHOLD_DP, visibilityInterpolator: TimeInterpolator = AccelerateDecelerateInterpolator())

FadingEdges applies a horizontal fade to the edges of the chart area for scrollable charts. This effect indicates that there’s more content beyond a given edge, and the user can scroll to reveal it.

Link copied to clipboard

Holds information on a CartesianChart’s horizontal dimensions.

Link copied to clipboard
data class MutableHorizontalDimensions(var xSpacing: Float = 0.0f, var scalableStartPadding: Float = 0.0f, var scalableEndPadding: Float = 0.0f, var unscalableStartPadding: Float = 0.0f, var unscalableEndPadding: Float = 0.0f) : HorizontalDimensions

An implementation of HorizontalDimensions whose every property is mutable.

Link copied to clipboard
sealed interface Scroll

Represents a CartesianChart scroll value or delta.

Link copied to clipboard
fun interface Zoom

Represents a CartesianChart’s zoom factor.