showMeasures property
Whether or not the legend should show measures.
By default this is false, measures are not shown. When set to true, the default behavior is to show measure only if there is selected data. Please set legendDefaultMeasure to something other than none to enable showing measures when there is no selection.
This flag is used by the contentBuilder, so a custom content builder has to choose if it wants to use this flag.
Implementation
final bool showMeasures;