From 7d7e25e4519bffb5b59335f78ee86a7ab8051d45 Mon Sep 17 00:00:00 2001 From: Erick Sorto Date: Tue, 2 Jan 2024 18:08:35 -0500 Subject: [PATCH] Add Background Transparancy --- .../java/co/yml/charts/ui/piechart/charts/DonutPieChart.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/YChartsLib/src/main/java/co/yml/charts/ui/piechart/charts/DonutPieChart.kt b/YChartsLib/src/main/java/co/yml/charts/ui/piechart/charts/DonutPieChart.kt index 3fc48c5f..62d0eab4 100644 --- a/YChartsLib/src/main/java/co/yml/charts/ui/piechart/charts/DonutPieChart.kt +++ b/YChartsLib/src/main/java/co/yml/charts/ui/piechart/charts/DonutPieChart.kt @@ -98,7 +98,8 @@ fun DonutPieChart( } } Surface( - modifier = modifier + modifier = modifier, + color = Color.Transparent ) { val boxModifier = if (pieChartConfig.isClickOnSliceEnabled) { modifier