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, var marker: CartesianMarker? = null, var markerVisibilityListener: CartesianMarkerVisibilityListener? = null, var layerPadding: CartesianLayerPadding = CartesianLayerPadding(), var legend: Legend<CartesianMeasuringContext, CartesianDrawingContext>? = null, var fadingEdges: FadingEdges? = null, var decorations: List<Decoration> = emptyList(), var persistentMarkers: CartesianChart.PersistentMarkerScope.(ExtraStore) -> Unit? = null, var 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(scalableStartPaddingDp: Float = 0.0f, scalableEndPaddingDp: Float = 0.0f, unscalableStartPaddingDp: Float = 0.0f, unscalableEndPaddingDp: Float = 0.0f)

Stores CartesianLayer padding values. scalableStartPaddingDp and scalableEndPaddingDp are multiplied by the zoom factor, unlike unscalableStartPaddingDp and unscalableEndPaddingDp.

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.