AccessibilityConfig

constructor(chartDescription: String = ChartConstants.CHART_DESCRIPTION, shouldHandleBackWhenTalkBackPopUpShown: Boolean = true, popUpTopRightButtonTitle: String = ChartConstants.POPUP_TOP_RIGHT_BUTTON_TITLE, popUpTopRightButtonDescription: String = ChartConstants.POPUP_TOP_RIGHT_BUTTON_DESCRIPTION, dividerColor: Color = Color.Gray, dividerThickness: Dp = 2.dp, titleTextSize: TextUnit = 14.sp, descriptionTextSize: TextUnit = 14.sp)

Parameters

shouldHandleBackWhenTalkBackPopUpShown

: True by default to dismiss the accessibility dialog when back pressed else false.

chartDescription

: Description used by accessibility service when tapped on the chart.

popUpTopRightButtonTitle

: Title of the button visible on the accessibility popUp at the top right.

popUpTopRightButtonDescription

: Content description of the button visible on the accessibility popUp at the top right.

dividerColor

: Defines the color for the divider used in the accessibility popUp

dividerThickness

: Defines the thickness for the divider in Dp used in the accessibility popUp

titleTextSize

: Defines the font-size of titles used in the accessibility popUp

descriptionTextSize

: Defines the font-size of descriptions used in the accessibility popUp