File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
YChartsLib/src/main/java/co/yml/charts/common/model Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ package co.yml.charts.common.model
22
33import androidx.compose.ui.graphics.Color
44import androidx.compose.ui.unit.Dp
5+ import androidx.compose.ui.unit.TextUnit
56import androidx.compose.ui.unit.dp
7+ import androidx.compose.ui.unit.sp
68import co.yml.charts.common.utils.ChartConstants
79
810/* *
@@ -16,6 +18,7 @@ import co.yml.charts.common.utils.ChartConstants
1618 */
1719data class AccessibilityConfig (
1820 val chartDescription : String = ChartConstants .CHART_DESCRIPTION ,
21+ val descriptionTextSize : TextUnit = 14 .sp,
1922 val shouldHandleBackWhenTalkBackPopUpShown : Boolean = true ,
2023 val popUpTopRightButtonTitle : String = ChartConstants .POPUP_TOP_RIGHT_BUTTON_TITLE ,
2124 val popUpTopRightButtonDescription : String = ChartConstants .POPUP_TOP_RIGHT_BUTTON_DESCRIPTION ,
Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ import androidx.compose.ui.graphics.Brush
55import androidx.compose.ui.graphics.Color
66import androidx.compose.ui.text.TextStyle
77import androidx.compose.ui.unit.Dp
8+ import androidx.compose.ui.unit.TextUnit
89import androidx.compose.ui.unit.dp
10+ import androidx.compose.ui.unit.sp
911
1012/* *
1113 * LegendsConfig data class params used in config label in graph.
@@ -19,6 +21,7 @@ import androidx.compose.ui.unit.dp
1921 * */
2022data class LegendsConfig (
2123 val legendLabelList : List <LegendLabel >,
24+ val textSize : TextUnit = 14 .sp,
2225 val gridColumnCount : Int = 1 ,
2326 val gridPaddingHorizontal : Dp = 8 .dp,
2427 val gridPaddingVertical : Dp = 8 .dp,
You can’t perform that action at this time.
0 commit comments