BarDataSet
public struct BarDataSet : CTStandardBarChartDataSet, DataFunctionsProtocol
Data set for a bar chart.
-
Declaration
Swift
public let id: UUID
-
Declaration
Swift
public var dataPoints: [BarChartDataPoint]
-
Declaration
Swift
public var legendTitle: String
-
Initialises a new data set for standard Bar Charts.
Declaration
Swift
public init( dataPoints: [BarChartDataPoint], legendTitle: String = "" )
Parameters
dataPoints
Array of elements.
legendTitle
label for the data in legend.
-
Declaration
Swift
public typealias ID = UUID
-
Declaration
Swift
public typealias DataPoint = BarChartDataPoint