-
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)Creates a ColumnChart. final static ColumnChartcolumnChart(List<LineComponent> columns, Dp spacing, Dp innerSpacing, ColumnChart.MergeMode mergeMode, Float minX, Float maxX, Float minY, Float maxY, List<Decoration> decorations, Map<Float, Marker> persistentMarkers, AxisPosition.Vertical targetVerticalAxisPosition, TextComponent dataLabel, VerticalPosition dataLabelVerticalPosition, ValueFormatter dataLabelValueFormatter, Float dataLabelRotationDegrees)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)
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.
-
columnChart
@Deprecated(message = Axis values should be overridden `AxisValuesOverrider`., level = DeprecationLevel.ERROR)@Composable() final static ColumnChart columnChart(List<LineComponent> columns, Dp spacing, Dp innerSpacing, ColumnChart.MergeMode mergeMode, Float minX, Float maxX, Float minY, Float maxY, List<Decoration> decorations, Map<Float, Marker> persistentMarkers, AxisPosition.Vertical targetVerticalAxisPosition, TextComponent dataLabel, VerticalPosition dataLabelVerticalPosition, ValueFormatter dataLabelValueFormatter, Float dataLabelRotationDegrees)
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.minX- the minimum value shown on the x-axis.maxX- the maximum value shown on the x-axis.minY- the minimum value shown on the y-axis.maxY- the maximum value shown on the y-axis.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).
-
-
-
-