LegendOrdinal<T> constructor
const
LegendOrdinal<T> ({})
Creates an ordinal legend.
Implementation
const LegendOrdinal({
super.key,
required this.scale,
this.labels,
this.config = const LegendConfig(),
this.onTap,
this.selectedValues,
this.inactiveOpacity = 0.3,
});