Package-level declarations

Types

Link copied to clipboard
typealias ChartShape = Shape

Functions

Link copied to clipboard
fun axisGuidelineComponent(color: Color = currentChartStyle.axis.axisGuidelineColor, thickness: Dp = currentChartStyle.axis.axisGuidelineWidth, shape: ChartShape = currentChartStyle.axis.axisGuidelineShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, dynamicShader: DynamicShader? = null, margins: Dimensions = emptyDimensions()): LineComponent

Creates an axis guideline.

Link copied to clipboard
fun axisLabelComponent(color: Color = currentChartStyle.axis.axisLabelColor, textSize: TextUnit = currentChartStyle.axis.axisLabelTextSize, background: ShapeComponent? = currentChartStyle.axis.axisLabelBackground, ellipsize: TextUtils.TruncateAt = TextUtils.TruncateAt.END, lineCount: Int = currentChartStyle.axis.axisLabelLineCount, verticalPadding: Dp = currentChartStyle.axis.axisLabelVerticalPadding, horizontalPadding: Dp = currentChartStyle.axis.axisLabelHorizontalPadding, verticalMargin: Dp = currentChartStyle.axis.axisLabelVerticalMargin, horizontalMargin: Dp = currentChartStyle.axis.axisLabelHorizontalMargin, typeface: Typeface = currentChartStyle.axis.axisLabelTypeface, textAlign: Paint.Align): TextComponent
fun axisLabelComponent(color: Color = currentChartStyle.axis.axisLabelColor, textSize: TextUnit = currentChartStyle.axis.axisLabelTextSize, background: ShapeComponent? = currentChartStyle.axis.axisLabelBackground, ellipsize: TextUtils.TruncateAt = TextUtils.TruncateAt.END, lineCount: Int = currentChartStyle.axis.axisLabelLineCount, verticalPadding: Dp = currentChartStyle.axis.axisLabelVerticalPadding, horizontalPadding: Dp = currentChartStyle.axis.axisLabelHorizontalPadding, verticalMargin: Dp = currentChartStyle.axis.axisLabelVerticalMargin, horizontalMargin: Dp = currentChartStyle.axis.axisLabelHorizontalMargin, typeface: Typeface = currentChartStyle.axis.axisLabelTypeface, textAlignment: Layout.Alignment = currentChartStyle.axis.axisLabelTextAlignment): TextComponent

Creates a TextComponent to be used for axis labels.

Link copied to clipboard
fun axisLineComponent(color: Color, thickness: Dp = currentChartStyle.axis.axisLineWidth, shape: Shape = RectangleShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, brush: Brush? = null, margins: Dimensions = emptyDimensions()): LineComponent
fun axisLineComponent(color: Color = currentChartStyle.axis.axisLineColor, thickness: Dp = currentChartStyle.axis.axisLineWidth, shape: ChartShape = currentChartStyle.axis.axisLineShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, dynamicShader: DynamicShader? = null, margins: Dimensions = emptyDimensions()): LineComponent

Creates a LineComponent styled as an axis line.

Link copied to clipboard
fun axisTickComponent(color: Color, thickness: Dp = currentChartStyle.axis.axisTickWidth, shape: Shape = RectangleShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, brush: Brush? = null): LineComponent
fun axisTickComponent(color: Color = currentChartStyle.axis.axisTickColor, thickness: Dp = currentChartStyle.axis.axisTickWidth, shape: ChartShape = currentChartStyle.axis.axisTickShape, strokeWidth: Dp = 0.dp, strokeColor: Color = Color.Transparent, dynamicShader: DynamicShader? = null): LineComponent

Creates a LineComponent styled as a tick line.