Legend
fun Legend(legendData: List<LegendData>, displayInfoIcon: Boolean = true, promptInfoDialog: () -> Unit = {})
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.