This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
Version 4.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