-
Notifications
You must be signed in to change notification settings - Fork 14
Point
Kevin Brewster edited this page Jan 23, 2015
·
4 revisions
Point is a [CAShapeLayer] (https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/CAShapeLayer_class/index.html) subclass and points are created by the Dataset object when it's 'data' property is set. The shape and color of a Point is determined by the Dataset.defaultPoint, but can be individually changed after creation.
var value: CGFloat
The value of the Dataset.data member that the point represents
weak var dataset: Dataset?
The dataset that contains the data which the point represents
var highlighted: Bool
Toggle to make the point grow bigger or smaller