-
public final class ColumnChartKt
-
-
Method Summary
Modifier and Type Method Description final static ColumnChartcolumnChart(List<LineComponent> columns, Dp spacing, Dp innerSpacing, ColumnChart.MergeMode mergeMode, List<Decoration> decorations, Map<Float, Marker> persistentMarkers, AxisPosition.Vertical targetVerticalAxisPosition, TextComponent dataLabel, VerticalPosition dataLabelVerticalPosition, ValueFormatter dataLabelValueFormatter, Float dataLabelRotationDegrees, AxisValuesOverrider<ChartEntryModel> axisValuesOverrider, DrawingModelInterpolator<ColumnChartDrawingModel.ColumnInfo, ColumnChartDrawingModel> drawingModelInterpolator)Creates a ColumnChart. -
-
Method Detail
-
columnChart
@Composable() final static ColumnChart columnChart(List<LineComponent> columns, Dp spacing, Dp innerSpacing, ColumnChart.MergeMode mergeMode, List<Decoration> decorations, Map<Float, Marker> persistentMarkers, AxisPosition.Vertical targetVerticalAxisPosition, TextComponent dataLabel, VerticalPosition dataLabelVerticalPosition, ValueFormatter dataLabelValueFormatter, Float dataLabelRotationDegrees, AxisValuesOverrider<ChartEntryModel> axisValuesOverrider, DrawingModelInterpolator<ColumnChartDrawingModel.ColumnInfo, ColumnChartDrawingModel> drawingModelInterpolator)
Creates a ColumnChart.
- Parameters:
columns- the LineComponent instances to use for columns.spacing- the distance between neighboring column collections.innerSpacing- the distance between neighboring grouped columns.mergeMode- defines how columns should be drawn in column collections.decorations- the list of Decorations that will be added to the ColumnChart.persistentMarkers- maps x-axis values to persistent Markers.targetVerticalAxisPosition- if this is set, any AxisRenderer with an AxisPosition equal to the provided value will use the ChartValues provided by this chart.dataLabel- an optional TextComponent to use for data labels.dataLabelVerticalPosition- the vertical position of data labels relative to the top of their respective columns.dataLabelValueFormatter- the ValueFormatter to use for data labels.dataLabelRotationDegrees- the rotation of data labels (in degrees).axisValuesOverrider- overrides the minimum and maximum x-axis and y-axis values.drawingModelInterpolator- interpolates the ColumnChart’s ColumnChartDrawingModels.
-
-
-
-