Package-level declarations

Functions

Link copied to clipboard
fun CandlestickCartesianLayer.CandleProvider.Companion.absolute(bullish: CandlestickCartesianLayer.Candle = Candle.sharpFilledCandle(vicoTheme.candlestickCartesianLayerColors.bullish), neutral: CandlestickCartesianLayer.Candle = bullish.copyWithColor(vicoTheme.candlestickCartesianLayerColors.neutral), bearish: CandlestickCartesianLayer.Candle = bullish.copyWithColor(vicoTheme.candlestickCartesianLayerColors.bearish)): CandlestickCartesianLayer.CandleProvider
Link copied to clipboard
fun CandlestickCartesianLayer.CandleProvider.Companion.absoluteRelative(absolutelyBullishRelativelyBullish: CandlestickCartesianLayer.Candle = Candle.sharpHollowCandle(vicoTheme.candlestickCartesianLayerColors.bullish), absolutelyBullishRelativelyNeutral: CandlestickCartesianLayer.Candle = absolutelyBullishRelativelyBullish.copyWithColor( vicoTheme.candlestickCartesianLayerColors.neutral ), absolutelyBullishRelativelyBearish: CandlestickCartesianLayer.Candle = absolutelyBullishRelativelyBullish.copyWithColor( vicoTheme.candlestickCartesianLayerColors.bearish ), absolutelyNeutralRelativelyBullish: CandlestickCartesianLayer.Candle = absolutelyBullishRelativelyBullish, absolutelyNeutralRelativelyNeutral: CandlestickCartesianLayer.Candle = absolutelyBullishRelativelyNeutral, absolutelyNeutralRelativelyBearish: CandlestickCartesianLayer.Candle = absolutelyBullishRelativelyBearish, absolutelyBearishRelativelyBullish: CandlestickCartesianLayer.Candle = Candle.sharpFilledCandle(vicoTheme.candlestickCartesianLayerColors.bullish), absolutelyBearishRelativelyNeutral: CandlestickCartesianLayer.Candle = absolutelyBearishRelativelyBullish.copyWithColor( vicoTheme.candlestickCartesianLayerColors.neutral ), absolutelyBearishRelativelyBearish: CandlestickCartesianLayer.Candle = absolutelyBearishRelativelyBullish.copyWithColor( vicoTheme.candlestickCartesianLayerColors.bearish )): CandlestickCartesianLayer.CandleProvider
Link copied to clipboard
fun LineCartesianLayer.LineStroke.Companion.continuous(thickness: Dp = Defaults.LINE_SPEC_THICKNESS_DP.dp, cap: StrokeCap = StrokeCap.Round): LineCartesianLayer.LineStroke.Continuous
Link copied to clipboard
fun LineCartesianLayer.LineStroke.Companion.dashed(thickness: Dp = Defaults.LINE_SPEC_THICKNESS_DP.dp, cap: StrokeCap = StrokeCap.Round, dashLength: Dp = Defaults.LINE_DASH_LENGTH.dp, gapLength: Dp = Defaults.LINE_GAP_LENGTH.dp): LineCartesianLayer.LineStroke.Dashed
Link copied to clipboard
fun ColumnCartesianLayer.MergeMode.Companion.grouped(columnSpacing: Dp = Defaults.GROUPED_COLUMN_SPACING.dp): ColumnCartesianLayer.MergeMode.Grouped

Creates a MergeMode.Grouped instance.

Link copied to clipboard
fun LineCartesianLayer.Companion.point(component: Component, size: Dp = Defaults.POINT_SIZE.dp): LineCartesianLayer.Point
Link copied to clipboard
fun rememberCandlestickCartesianLayer(candles: CandlestickCartesianLayer.CandleProvider = CandlestickCartesianLayer.CandleProvider.absolute(), minCandleBodyHeight: Dp = Defaults.MIN_CANDLE_BODY_HEIGHT_DP.dp, candleSpacing: Dp = Defaults.CANDLE_SPACING_DP.dp, scaleCandleWicks: Boolean = false, rangeProvider: CartesianLayerRangeProvider = remember { CartesianLayerRangeProvider.auto() }, verticalAxisPosition: Axis.Position.Vertical? = null, drawingModelInterpolator: CartesianLayerDrawingModelInterpolator<CandlestickCartesianLayerDrawingModel.CandleInfo, CandlestickCartesianLayerDrawingModel> = CartesianLayerDrawingModelInterpolator.default()): CandlestickCartesianLayer

Creates and remembers a CandlestickCartesianLayer.

Link copied to clipboard
fun rememberColumnCartesianLayer(columnProvider: ColumnCartesianLayer.ColumnProvider = ColumnCartesianLayer.ColumnProvider.series( vicoTheme.columnCartesianLayerColors.map { color -> rememberLineComponent( fill(color), Defaults.COLUMN_WIDTH.dp, CorneredShape.rounded(Defaults.COLUMN_ROUNDNESS_PERCENT), ) } ), columnCollectionSpacing: Dp = Defaults.COLUMN_COLLECTION_SPACING.dp, mergeMode: (ExtraStore) -> ColumnCartesianLayer.MergeMode = { MergeMode.grouped() }, dataLabel: TextComponent? = null, dataLabelVerticalPosition: VerticalPosition = VerticalPosition.Top, dataLabelValueFormatter: CartesianValueFormatter = remember { CartesianValueFormatter.decimal() }, dataLabelRotationDegrees: Float = 0.0f, rangeProvider: CartesianLayerRangeProvider = remember { CartesianLayerRangeProvider.auto() }, verticalAxisPosition: Axis.Position.Vertical? = null, drawingModelInterpolator: CartesianLayerDrawingModelInterpolator<ColumnCartesianLayerDrawingModel.ColumnInfo, ColumnCartesianLayerDrawingModel> = remember { CartesianLayerDrawingModelInterpolator.default() }): ColumnCartesianLayer

Creates and remembers a ColumnCartesianLayer.

Link copied to clipboard
fun LineCartesianLayer.Companion.rememberLine(fill: LineCartesianLayer.LineFill = vicoTheme.lineCartesianLayerColors.first().let { color -> remember(color) { LineCartesianLayer.LineFill.single(fill(color)) } }, stroke: LineCartesianLayer.LineStroke = LineCartesianLayer.LineStroke.continuous(), areaFill: LineCartesianLayer.AreaFill? = remember(fill) { fill.getDefaultAreaFill() }, pointProvider: LineCartesianLayer.PointProvider? = null, pointConnector: LineCartesianLayer.PointConnector = remember { LineCartesianLayer.PointConnector.cubic() }, dataLabel: TextComponent? = null, dataLabelVerticalPosition: VerticalPosition = VerticalPosition.Top, dataLabelValueFormatter: CartesianValueFormatter = remember { CartesianValueFormatter.decimal() }, dataLabelRotationDegrees: Float = 0.0f): LineCartesianLayer.Line

Creates and remembers a LineCartesianLayer.Line.

Link copied to clipboard
fun rememberLineCartesianLayer(lineProvider: LineCartesianLayer.LineProvider = LineCartesianLayer.LineProvider.series( vicoTheme.lineCartesianLayerColors.map { color -> LineCartesianLayer.rememberLine(LineCartesianLayer.LineFill.single(fill(color))) } ), pointSpacing: Dp = Defaults.POINT_SPACING.dp, rangeProvider: CartesianLayerRangeProvider = remember { CartesianLayerRangeProvider.auto() }, verticalAxisPosition: Axis.Position.Vertical? = null, drawingModelInterpolator: CartesianLayerDrawingModelInterpolator<LineCartesianLayerDrawingModel.PointInfo, LineCartesianLayerDrawingModel> = remember { CartesianLayerDrawingModelInterpolator.default() }): LineCartesianLayer

Creates and remembers a LineCartesianLayer.