RangedLineChartDataPoint
public struct RangedLineChartDataPoint : CTRangedLineDataPoint, IgnoreMe
Data for a single ranged data point.
-
Declaration
Swift
public let id: UUID -
Declaration
Swift
public var value: Double -
Declaration
Swift
public var upperValue: Double -
Declaration
Swift
public var lowerValue: Double -
Declaration
Swift
public var xAxisLabel: String? -
Declaration
Swift
public var description: String? -
Declaration
Swift
public var date: Date? -
Undocumented
Declaration
Swift
public var pointColour: PointColour? -
Undocumented
Declaration
Swift
public var ignoreMe: Bool -
Declaration
Swift
public var legendTag: String -
Data model for a single data point with colour for use with a ranged line chart.
Declaration
Swift
public init( value: Double, upperValue: Double, lowerValue: Double, xAxisLabel: String? = nil, description: String? = nil, date: Date? = nil, pointColour: PointColour? = nil )Parameters
valueValue of the data point.
upperValueValue of the upper range of the data point.
lowerValueValue of the lower range of the data point.
xAxisLabelLabel that can be shown on the X axis.
descriptionA longer label that can be shown on touch input.
dateDate of the data point if any data based calculations are required.
pointColourColour of the point markers.