FUIChartItemComponent

public protocol FUIChartItemComponent

Undocumented

  • Indicates indexes of column series for combo chart.

    • Given indexes of series will be treated as column and the rest series will be treated as line.

    Declaration

    Swift

    var indexesOfColumnSeries: IndexSet? { get set }
  • Indicates total indexes for waterfall chart.

    • Given indexes will treat the corresponding categories as totals.
    • The corresponding category values in the provided data should correspond to the total sum of the preceding values.
    • If the corresponding category value is nil in the provided data, the chart will complete the sum of the total value, which can be retrieved through plotItem(atSeries:category:).

    Declaration

    Swift

    var indexesOfTotalsCategories: IndexSet? { get set }
  • Indicates secondary value axis series indexes for line based charts.

    • The secondary value index works with .line, .area and .combo charts only.
    • Given series indexes will assign the corresponding series to the secondary value axis.

    Declaration

    Swift

    var indexesOfSecondaryValueAxis: IndexSet? { get set }
  • Provides attributes for the primary numeric axis.

    • For clustered column, line, and combo charts this is the Y axis.
    • For bar charts this is the X axis.

    Declaration

    Swift

    var numericAxis: FUIChartNumericAxis { get }
  • Provides attributes for the secondary numeric axis.

    • For clustered line, area and combo charts this is the secondary Y axis.

    Declaration

    Swift

    var secondaryNumericAxis: FUIChartNumericAxis { get }
  • Provides attributes for the category axis.

    • For clustered column, line, and combo charts this is the X axis.
    • For bar charts this is the Y axis.

    Declaration

    Swift

    var categoryAxis: FUIChartCategoryAxis { get }
  • Collection of FUIChartSeries containing properties for all series provided by the FUIChartViewDataSource.

    Declaration

    Swift

    var series: FUIChartSeriesCollection { get }
  • plotItem(at:) Default implementation

    Returns plot item for a given location.

    Default Implementation

    Declaration

    Swift

    func plotItem(at location: CGPoint) -> FUIChartPlotItem?
  • plotItem(at:category:) Default implementation

    Returns plot item for given series and category.

    Default Implementation

    Declaration

    Swift

    func plotItem(at series: Int, category: Int) -> FUIChartPlotItem?