Contents

chartLegend(_:)

Configures the legend for charts.

Declaration

@MainActor @preconcurrency func chartLegend(_ visibility: Visibility) -> some View

Parameters

  • visibility:

    The visibility of the legend.

See Also

Legends