LegendData

data class LegendData(val color: Color, val title: String, val popUpLegendDescriptionData: List<LegendDescriptionData>? = null)

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)

Properties

Link copied to clipboard
Link copied to clipboard