Skip to content

Releases: gpbl/SwiftChart

v1.0.0

07 Jan 10:27
Compare
Choose a tag to compare
  • Breaking change: Use Double instead of Float (#87 by @trein)
  • Added: Initialize a serie with Int x-values
  • Fixed: crash when using empty series data (#88 by @trein)

v0.6.0

06 Jan 15:44
Compare
Choose a tag to compare
  • Add hideHighlightLineOnTouchEnd option

v0.5.0

20 May 19:05
Compare
Choose a tag to compare
  • Automatically redraw the chart when changing series (#25 by @duemunk): no need to call setNeedsDisplay when changing chart's series property
  • Update chart on resize (#24 by @duemunk)
  • Add xLabelsOrientation option to switch the x-labels orientation between horizontal or vertical (#61)
  • Add xLabelsSkipLast option. Set it to false to print the last x-label (the last labe; may overflow the frame size, tough) (#37)

v0.4.0

14 Nov 21:47
Compare
Choose a tag to compare
  • Add custom threshold for positive/negative data colors (#45 by @algrid)

This is a potentially breaking change
If you were setting the ChartSeries.colors, you must set the new zeroLevel value to 0 to keep the same functionality:

- mySeriesl.colors = (above: ChartsColors.redColor(), below: ChartsColors.blueColor())
+ mySeriesl.colors = (above: ChartsColors.redColor(), below: ChartsColors.blueColor(), 0)

v0.3.0

26 Sep 18:29
Compare
Choose a tag to compare

This release upgrades the source code and examples to Swift 3.

Breaking changes

  • Chart.addSeries(series: ChartSeries) method has been renamed to Chart.add(series: ChartSeries)

v0.2.2

06 Jul 12:36
Compare
Choose a tag to compare
  • Fixes an issue with negative/positive values (#26)

v0.2.1

14 Feb 20:46
Compare
Choose a tag to compare

Add the missing public initializer Chart(frame: CGFrame).

v0.2.0

12 Dec 00:01
Compare
Choose a tag to compare

Updated to work with cocoapods.

v0.1.0

04 Dec 21:51
Compare
Choose a tag to compare

First official release!