RangedLineDataSet
public struct RangedLineDataSet : CTRangedLineChartDataSet, DataFunctionsProtocol
Data set for a ranged line.
Contains information specific to the line and range fill.
-
Declaration
Swift
public let id: UUID
-
Declaration
Swift
public var dataPoints: [RangedLineChartDataPoint]
-
Declaration
Swift
public var legendTitle: String
-
Declaration
Swift
public var legendFillTitle: String
-
Declaration
Swift
public var pointStyle: PointStyle
-
Declaration
Swift
public var style: RangedLineStyle
-
Initialises a data set for a line in a ranged line chart.
Declaration
Swift
public init( dataPoints: [RangedLineChartDataPoint], legendTitle: String = "", legendFillTitle: String = "", pointStyle: PointStyle = PointStyle(), style: RangedLineStyle = RangedLineStyle() )
Parameters
dataPoints
Array of elements.
legendTitle
Label for the data in legend.
legendFillTitle
Label for the range data in legend.
pointStyle
Styling information for the data point markers.
style
Styling for how the line will be draw in.
-
Declaration
Swift
public typealias ID = UUID
-
Declaration
Swift
public typealias Styling = RangedLineStyle