Skip to content
Kevin Brewster edited this page Jan 23, 2015 · 2 revisions

Properties

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.


Methods

func showGrid(length: CGFloat)

Called by LineChart when grids are enabled


Clone this wiki locally