FUIChartLegendViewDelegate

public protocol FUIChartLegendViewDelegate : AnyObject

Chart legend view delegate that observes tapping events invoking selection changes.

  • Optional. Informs the delegate once legend view selections have changed.

    Declaration

    Swift

    func legendView(_ legendView: FUIChartLegendView, didSelectSeries index: Int)

    Parameters

    legendView

    The FUIChartLegendView in which selections have changed.

    didSelectSeries

    The index of series that is selected.

  • Optional. Informs the delegate once legend view selections have changed.

    Declaration

    Swift

    func legendView(_ legendView: FUIChartLegendView, didDeSelectSeries index: Int)

    Parameters

    legendView

    The FUIChartLegendView in which selections have changed.

    didDeSelectSeries

    The index of series that is de-selected.