Bar Chart Style
class BarChartStyle(val modifier: Modifier, val chartViewStyle: ChartViewStyle, val barColor: Color, val barAlpha: Float, val space: Dp, val minValue: Float?, val maxValue: Float?, val minBarWidth: Dp, val zoomControlsVisible: Boolean, val gridVisible: Boolean, val gridSteps: Int, val gridColor: Color, val gridLineWidth: Float, val axisVisible: Boolean, val axisColor: Color, val axisLineWidth: Float, val yAxisLabelsVisible: Boolean, val yAxisLabelColor: Color, val yAxisLabelSize: TextUnit, val yAxisLabelCount: Int, val xAxisLabelsVisible: Boolean, val xAxisLabelColor: Color, val xAxisLabelSize: TextUnit, val xAxisLabelMaxCount: Int, val selectionLineVisible: Boolean, val selectionLineColor: Color, val selectionLineWidth: Float) : Style
A class that defines the style for a Bar Chart.
Constructors
Link copied to clipboard
constructor(modifier: Modifier, chartViewStyle: ChartViewStyle, barColor: Color, barAlpha: Float, space: Dp, minValue: Float?, maxValue: Float?, minBarWidth: Dp, zoomControlsVisible: Boolean, gridVisible: Boolean, gridSteps: Int, gridColor: Color, gridLineWidth: Float, axisVisible: Boolean, axisColor: Color, axisLineWidth: Float, yAxisLabelsVisible: Boolean, yAxisLabelColor: Color, yAxisLabelSize: TextUnit, yAxisLabelCount: Int, xAxisLabelsVisible: Boolean, xAxisLabelColor: Color, xAxisLabelSize: TextUnit, xAxisLabelMaxCount: Int, selectionLineVisible: Boolean, selectionLineColor: Color, selectionLineWidth: Float)
Properties
Link copied to clipboard
The stroke width of the axes.
Link copied to clipboard
Whether the left Y-axis line and horizontal baseline are shown.
Link copied to clipboard
The style to be applied to the chart view.
Link copied to clipboard
The stroke width of grid lines.
Link copied to clipboard
Whether horizontal grid lines are shown.
Link copied to clipboard
The minimum width of each bar.
Link copied to clipboard
The color of the selected bar indicator line.
Link copied to clipboard
Whether the selected bar indicator line is shown.
Link copied to clipboard
The stroke width of the selected bar indicator line.
Link copied to clipboard
The color of X-axis labels.
Link copied to clipboard
Maximum number of X-axis labels to display.
Link copied to clipboard
The text size of X-axis labels.
Link copied to clipboard
Whether X-axis labels are shown.
Link copied to clipboard
The color of Y-axis labels.
Link copied to clipboard
Number of Y-axis labels.
Link copied to clipboard
The text size of Y-axis labels.
Link copied to clipboard
Whether Y-axis labels are shown.
Link copied to clipboard
Whether zoom controls are shown.