LineDataSet
public struct LineDataSet : CTLineChartDataSet, DataFunctionsProtocol
Data set for a single line
Contains information specific to each line within the chart .
-
Declaration
Swift
public let id: UUID -
Declaration
Swift
public var dataPoints: [LineChartDataPoint] -
Declaration
Swift
public var legendTitle: String -
Declaration
Swift
public var pointStyle: PointStyle -
Declaration
Swift
public var style: LineStyle -
Initialises a data set for a line in a Line Chart.
Declaration
Swift
public init( dataPoints: [LineChartDataPoint], legendTitle: String = "", pointStyle: PointStyle = PointStyle(), style: LineStyle = LineStyle() )Parameters
dataPointsArray of elements.
legendTitleLabel for the 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 = LineStyle