FUIChartPlotItem
public protocol FUIChartPlotItem
Provides properties of an item from the chart’s plot.
-
Index of the series to which the plot item belongs.
Declaration
Swift
var seriesIndex: Int { get }
-
Index of the category to which the plot item belongs.
Declaration
Swift
var categoryIndex: Int { get }
-
value(dimension:)
Default implementationUsed to obtain plotted values. Gets the plot item value. By default the dimension maps to the value axis data. In a scatter and bubble chart, index 0 maps to the X value, index 1 maps to the Y value and index 2 for the bubble chart maps to the size value.
Default Implementation
Gets the plot item value. By default the dimension is zero, for the Y (value) axis. In a scatter and bubble chart, index 1 and 2 return the X axis value and size value.
Declaration
Swift
func value(dimension: Int) -> Double?