rememberColumnCartesianLayer
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.