Legend
fun Legend(legendData: List<LegendData>, displayInfoIcon: Boolean = true, promptInfoDialog: () -> Unit = {})(source)
Creates the legend that identifies the colors used for the graph.
Parameters
legend Data
A list containing the LegendData to build the labels.
prompt Info Dialog
Executes when the user presses the info icon.