Package-level declarations

Functions

Link copied to clipboard
fun bottomAxis(label: TextComponent? = axisLabelComponent(), axis: LineComponent? = axisLineComponent(), tick: LineComponent? = axisTickComponent(), tickLength: Dp = currentChartStyle.axis.axisTickLength, guideline: LineComponent? = axisGuidelineComponent(), valueFormatter: AxisValueFormatter<AxisPosition.Horizontal.Bottom> = DecimalFormatAxisValueFormatter(), sizeConstraint: Axis.SizeConstraint = Axis.SizeConstraint.Auto(), titleComponent: TextComponent? = null, title: CharSequence? = null, labelRotationDegrees: Float = currentChartStyle.axis.axisLabelRotationDegrees, itemPlacer: AxisItemPlacer.Horizontal = remember { AxisItemPlacer.Horizontal.default() }): HorizontalAxis<AxisPosition.Horizontal.Bottom>
fun bottomAxis(label: TextComponent? = axisLabelComponent(), axis: LineComponent? = axisLineComponent(), tick: LineComponent? = axisTickComponent(), tickLength: Dp = currentChartStyle.axis.axisTickLength, guideline: LineComponent? = axisGuidelineComponent(), valueFormatter: AxisValueFormatter<AxisPosition.Horizontal.Bottom> = DecimalFormatAxisValueFormatter(), sizeConstraint: Axis.SizeConstraint = Axis.SizeConstraint.Auto(), titleComponent: TextComponent? = null, title: CharSequence? = null, labelRotationDegrees: Float = currentChartStyle.axis.axisLabelRotationDegrees, labelSpacing: Int = 1, labelOffset: Int = 0): HorizontalAxis<AxisPosition.Horizontal.Bottom>

Creates and remembers a bottom axis (i.e., a HorizontalAxis with AxisPosition.Horizontal.Bottom).

Link copied to clipboard
fun rememberBottomAxis(label: TextComponent? = axisLabelComponent(), axis: LineComponent? = axisLineComponent(), tick: LineComponent? = axisTickComponent(), tickLength: Dp = currentChartStyle.axis.axisTickLength, guideline: LineComponent? = axisGuidelineComponent(), valueFormatter: AxisValueFormatter<AxisPosition.Horizontal.Bottom> = DecimalFormatAxisValueFormatter(), sizeConstraint: Axis.SizeConstraint = Axis.SizeConstraint.Auto(), titleComponent: TextComponent? = null, title: CharSequence? = null, labelRotationDegrees: Float = currentChartStyle.axis.axisLabelRotationDegrees, itemPlacer: AxisItemPlacer.Horizontal = remember { AxisItemPlacer.Horizontal.default() }): HorizontalAxis<AxisPosition.Horizontal.Bottom>

Creates and remembers a bottom axis (i.e., a HorizontalAxis with AxisPosition.Horizontal.Bottom).

Link copied to clipboard
fun rememberTopAxis(label: TextComponent? = axisLabelComponent(), axis: LineComponent? = axisLineComponent(), tick: LineComponent? = axisTickComponent(), tickLength: Dp = currentChartStyle.axis.axisTickLength, guideline: LineComponent? = axisGuidelineComponent(), valueFormatter: AxisValueFormatter<AxisPosition.Horizontal.Top> = DecimalFormatAxisValueFormatter(), sizeConstraint: Axis.SizeConstraint = Axis.SizeConstraint.Auto(), labelRotationDegrees: Float = currentChartStyle.axis.axisLabelRotationDegrees, titleComponent: TextComponent? = null, title: CharSequence? = null, itemPlacer: AxisItemPlacer.Horizontal = remember { AxisItemPlacer.Horizontal.default() }): HorizontalAxis<AxisPosition.Horizontal.Top>

Creates and remembers a top axis (i.e., a HorizontalAxis with AxisPosition.Horizontal.Top).

Link copied to clipboard
fun topAxis(label: TextComponent? = axisLabelComponent(), axis: LineComponent? = axisLineComponent(), tick: LineComponent? = axisTickComponent(), tickLength: Dp = currentChartStyle.axis.axisTickLength, guideline: LineComponent? = axisGuidelineComponent(), valueFormatter: AxisValueFormatter<AxisPosition.Horizontal.Top> = DecimalFormatAxisValueFormatter(), sizeConstraint: Axis.SizeConstraint = Axis.SizeConstraint.Auto(), labelRotationDegrees: Float = currentChartStyle.axis.axisLabelRotationDegrees, titleComponent: TextComponent? = null, title: CharSequence? = null, itemPlacer: AxisItemPlacer.Horizontal = remember { AxisItemPlacer.Horizontal.default() }): HorizontalAxis<AxisPosition.Horizontal.Top>
fun topAxis(label: TextComponent? = axisLabelComponent(), axis: LineComponent? = axisLineComponent(), tick: LineComponent? = axisTickComponent(), tickLength: Dp = currentChartStyle.axis.axisTickLength, guideline: LineComponent? = axisGuidelineComponent(), valueFormatter: AxisValueFormatter<AxisPosition.Horizontal.Top> = DecimalFormatAxisValueFormatter(), sizeConstraint: Axis.SizeConstraint = Axis.SizeConstraint.Auto(), labelRotationDegrees: Float = currentChartStyle.axis.axisLabelRotationDegrees, titleComponent: TextComponent? = null, title: CharSequence? = null, labelSpacing: Int = 1, labelOffset: Int = 0): HorizontalAxis<AxisPosition.Horizontal.Top>

Creates and remembers a top axis (i.e., a HorizontalAxis with AxisPosition.Horizontal.Top).