Swiftpack.co - Package - micheltlutz/MLLineChart

404: Not Found

Github

link
Stars: 26
Help us keep the lights on

Dependencies

Used By

Total:

Releases

v2.0.3 - Apr 15, 2019

Add

  • Demo target added

Fix

  • Fix for bug in Label with 1 dataEntry

v2.0.2 - Apr 15, 2019

Add

  • Swift 5 Support

v2.0.0 - Jan 25, 2019

v1.2.0 - Dec 27, 2018

  • Suport gradient curved charts

Usage:


let lineChart = MLLineChart(frame: CGRect(x: 0, y: 0, width: 260, height: 230))
lineChart.translatesAutoresizingMaskIntoConstraints = false
lineChart.hasColoredLines = true
lineChart.isGradientLineColors = true
lineChart.disableScroll = true
lineChart.isCurved = true
lineChart.axisBackgroundColor = CinguloColors.bgdiaryChart.color
lineChart.gradienLinesColors = [UIColor.green.cgColor, UIColor.orange.cgColor,UIColor.red.cgColor]

v1.1.0 - Nov 1, 2018

Add

  • Support a Swift 4.2
  • Remove Dispatch from UIView.animate
  • lineGap now is open var and can change value to decrease or increase the space between points on the x-axis (only for line chart)
  • some adjustments to chart calc