-
Notifications
You must be signed in to change notification settings - Fork 14
Axis
Kevin Brewster edited this page Jan 23, 2015
·
2 revisions
var axisLine: CAShapeLayer
The vertical or horizontal line representing the axis. You can change any CAShapeLayer properties (e.g. strokeColor, lineWidth)
var range: (min: CGFloat, max: CGFloat, interval: CGFloat?)
A tuple representing the minimum and maximum values of the axis, as well as the interval at which ticks are displayed. X-axis always has 1.0 as the interval. Changing this property will automatically update the ticks for the axis.
func showGrid(length: CGFloat)
Called by LineChart when grids are enabled