Package-level declarations

Types

Link copied to clipboard
data class AccessibilityConfig(val chartDescription: String = ChartConstants.CHART_DESCRIPTION, val shouldHandleBackWhenTalkBackPopUpShown: Boolean = true, val popUpTopRightButtonTitle: String = ChartConstants.POPUP_TOP_RIGHT_BUTTON_TITLE, val popUpTopRightButtonDescription: String = ChartConstants.POPUP_TOP_RIGHT_BUTTON_DESCRIPTION, val dividerColor: Color = Color.Gray, val dividerThickness: Dp = 2.dp, val titleTextSize: TextUnit = 14.sp, val descriptionTextSize: TextUnit = 14.sp)

AccessibilityConfig is a data class to configure all params needed for accessibility service.

Link copied to clipboard
data class LegendLabel(val color: Color = Color.Black, val name: String, val brush: Brush? = null)

LegendLabel data class params used in drawing label in graph.

Link copied to clipboard
data class LegendsConfig(val legendLabelList: List<LegendLabel>, val textSize: TextUnit = 14.sp, val gridColumnCount: Int = 1, val gridPaddingHorizontal: Dp = 8.dp, val gridPaddingVertical: Dp = 8.dp, val colorBoxSize: Dp = 25.dp, val textStyle: TextStyle = TextStyle(), val spaceBWLabelAndColorBox: Dp = 8.dp, val legendsArrangement: Arrangement.Horizontal = Arrangement.Center)

LegendsConfig data class params used in config label in graph.

Link copied to clipboard
interface PlotData

PlotData is a base class to all the types of available graphs

Link copied to clipboard
interface PlotType

PlotType is a sealed class to define the types of supported graphs/plots

Link copied to clipboard
data class Point(val x: Float, val y: Float, val description: String = "Value of point is ")

Point data class is used for holding the point on the graph.