chartLegend(_:)
Configures the legend for charts.
Declaration
@MainActor @preconcurrency func chartLegend(_ visibility: Visibility) -> some View
Parameters
- visibility:
The visibility of the legend.
Configures the legend for charts.
@MainActor @preconcurrency func chartLegend(_ visibility: Visibility) -> some View
The visibility of the legend.