Legend Data
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.
pop Up Legend Description Data
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)