MUGraphView

public final class MUGraphView : MUNibView

Class that act like Apple’s GraphView with more customizable options.

  • The color on X axis.

    Declaration

    Swift

    @IBInspectable
    public dynamic var xColor: UIColor { get set }
  • The color on Y axis.

    Declaration

    Swift

    @IBInspectable
    public dynamic var yColor: UIColor { get set }
  • The color on Z axis.

    Declaration

    Swift

    @IBInspectable
    public dynamic var zColor: UIColor { get set }
  • The value’s range on X axis.

    Declaration

    Swift

    public var xRange: ClosedRange<Double> { get set }
  • The value’s range on Y axis.

    Declaration

    Swift

    public var yRange: ClosedRange<Double> { get set }
  • The value’s range on Z axis.

    Declaration

    Swift

    public var zRange: ClosedRange<Double> { get set }
  • The color on the middle axis.

    Declaration

    Swift

    @IBInspectable
    public dynamic var mainAxisColor: UIColor
  • The color on the others axis.

    Declaration

    Swift

    @IBInspectable
    public dynamic var othersAxisColor: UIColor
  • Add a new values’ entry on the left of the view.

    Declaration

    Swift

    public func add(x: Double, y: Double, z: Double)
  • Undocumented

    Declaration

    Swift

    public override func draw(_ rect: CGRect)