LegendData

data class LegendData constructor(val color: Color, val title: String, val popUpLegendDescriptionData: List<LegendDescriptionData>? = null, val windowInsets: @Composable () -> WindowInsets = { BottomSheetDefaults.windowInsets }, val bottomSheetLowerPadding: Dp = Spacing0)

Data class used for DHIS2 Legend component.

Parameters

color

of legend.

title

text to be displayed.

popUpLegendDescriptionData

list of LegendDescriptionData with information for the legend range description pop up.

Constructors

Link copied to clipboard
constructor(color: Color, title: String, popUpLegendDescriptionData: List<LegendDescriptionData>? = null, windowInsets: @Composable () -> WindowInsets = { BottomSheetDefaults.windowInsets }, bottomSheetLowerPadding: Dp = Spacing0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard