LineChartStyle

class LineChartStyle(val modifier: Modifier, val chartViewStyle: ChartViewStyle, val dragPointColorSameAsLine: Boolean, val pointColorSameAsLine: Boolean, val pointColor: Color, val pointVisible: Boolean, val pointSize: Float, val lineColor: Color, val lineAlpha: Float, val lineColors: List<Color>, val bezier: Boolean, val dragPointSize: Float, val dragPointVisible: Boolean, val dragActivePointSize: Float, val dragPointColor: Color, 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 zoomControlsVisible: Boolean) : Style

A class that defines the style for a Line Chart.

Constructors

Link copied to clipboard
constructor(modifier: Modifier, chartViewStyle: ChartViewStyle, dragPointColorSameAsLine: Boolean, pointColorSameAsLine: Boolean, pointColor: Color, pointVisible: Boolean, pointSize: Float, lineColor: Color, lineAlpha: Float, lineColors: List<Color>, bezier: Boolean, dragPointSize: Float, dragPointVisible: Boolean, dragActivePointSize: Float, dragPointColor: Color, axisVisible: Boolean, axisColor: Color, axisLineWidth: Float, yAxisLabelsVisible: Boolean, yAxisLabelColor: Color, yAxisLabelSize: TextUnit, yAxisLabelCount: Int, xAxisLabelsVisible: Boolean, xAxisLabelColor: Color, xAxisLabelSize: TextUnit, xAxisLabelMaxCount: Int, zoomControlsVisible: Boolean)

Properties

Link copied to clipboard

The color of the axes.

Link copied to clipboard

The stroke width of the axes.

Link copied to clipboard

Whether chart axes are shown.

Link copied to clipboard

A boolean indicating whether the line chart should be drawn with bezier curves.

Link copied to clipboard

The style to be applied to the chart view.

Link copied to clipboard

The size of the active drag point on the line chart.

Link copied to clipboard

The color of the drag point on the line chart.

Link copied to clipboard

A boolean indicating whether the color of the drag point is the same as the line color.

Link copied to clipboard

The size of the drag point on the line chart.

Link copied to clipboard

A boolean indicating whether the drag point on the line chart is visible.

Link copied to clipboard

The alpha value applied to rendered line colors.

Link copied to clipboard

The color of the line in the line chart.

Link copied to clipboard

The colors of the lines in the line chart.

Link copied to clipboard

The modifier to be applied to the chart.

Link copied to clipboard

The color of the points on the line chart.

Link copied to clipboard

A boolean indicating whether the color of the point is the same as the line color.

Link copied to clipboard

The size of the points on the line chart.

Link copied to clipboard

A boolean indicating whether the points on the line chart are visible.

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 dense-mode zoom controls are shown.

Functions

Link copied to clipboard
open override fun getProperties(): List<Pair<String, Any>>

Returns a list of the properties of the LineChartStyle.