Skip to content

Commit

Permalink
Update PieChart composable functions to have modifier as the firs…
Browse files Browse the repository at this point in the history
…t optional parameter
  • Loading branch information
Gowsky committed Jul 16, 2023
1 parent 6848342 commit e2243e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ import com.patrykandpatrick.vico.core.extension.set
*/
@Composable
public fun PieChart(
modifier: Modifier = Modifier,
pieEntryModelProducer: PieEntryModelProducer,
modifier: Modifier = Modifier,
slices: List<Slice> = currentChartStyle.pieChart.slices,
spacing: Dp = currentChartStyle.pieChart.spacing,
outerSize: Size.OuterSize = currentChartStyle.pieChart.outerSize,
Expand Down Expand Up @@ -102,8 +102,8 @@ public fun PieChart(
*/
@Composable
public fun PieChart(
modifier: Modifier = Modifier,
model: PieEntryModel,
modifier: Modifier = Modifier,
slices: List<Slice> = currentChartStyle.pieChart.slices,
spacing: Dp = currentChartStyle.pieChart.spacing,
outerSize: Size.OuterSize = currentChartStyle.pieChart.outerSize,
Expand Down

0 comments on commit e2243e3

Please sign in to comment.