BEMSimpleLineGraph v4.1.1 Release Notes
Release Date: 2016-01-24 // about 7 years ago-
Bug Fixes
- ๐ Fixes #220 in accordance with Apple Documentation. Removed calls to
closePath
on BEMLine to prevent the lines being retraced (94f8915) - ๐ Fixes #233 by checking for data sources with less than two data points and drawing an appropriate line and line fill (aa51b11)
Project Changes
- โ Added a great deal of in-depth XCTests (295b9cb)
- ๐ Fixes #220 in accordance with Apple Documentation. Removed calls to
Previous changes from v4.1
-
Improvements
- Bezier Algorithm Improvements. This modifies the algorithm used to determine the graph's line. The old algorithm, although generating prettier graphs, displayed inaccurate information; line arcs would go above and below min/max values, and a graph that had two data points of the same value in a row would show invalid arcs between the two data points (always upward) giving the user an inaccurate representation of the data. Thanks to @tres for this wonderful improvement (9311f8d).
- ๐ Allow gesture recognizer to function simultaneously with other gesture recognizers. (8c25436).
๐ New Features
- ๐ New reference line width property (
referenceLineWidth
) allows you to control the width of the reference lines independently from the graph line. (0bb60c9)
๐ Bug Fixes
- ๐ Fixes #135, an issue where bezier curve lines were not confined to the graph's boundaries (despite the fill gradients and colors being confined). (17fe25f)
- ๐ Fixes an issue where permanent pop up labels are duplicated when
layoutSubview
is called (i.e. during interface orientation changes). (929df84) - ๐ Fixes a crash that may have occurred when attempting to perform calculations on a graph with no data, or before data is loaded. (e2a5167)
- ๐ Fixes a static analyzer warning about uninitialized struct. (af70a96)
โก๏ธ GitHub Repo Updates
- โก๏ธ Readme Updates
- Fixes quotation mark for Swift bridging header example (978b504)
Public to Private API Transition
- โ Removed previously public properties on
BEMLine
and made them private. These properties are not marked as deprecated because they should not have been public in the first-place, and any public use of them would have unintentional consequences. The following properties are no longer available publicly:@property (assign, nonatomic) CGPoint P0
@property (assign, nonatomic) CGPoint P1
@property (assign, nonatomic) CGPoint P2
@property (assign, nonatomic) CGPoint P3