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
dataPointsArray of elements.
legendTitleLabel for the data in legend.
legendFillTitleLabel for the range data in legend.
pointStyleStyling information for the data point markers.
styleStyling for how the line will be draw in.
-
Declaration
Swift
public typealias ID = UUID -
Declaration
Swift
public typealias Styling = RangedLineStyle