ANDLineChartView alternatives and similar libraries
Based on the "Charts" category.
Alternatively, view ANDLineChartView alternatives based on common mentions on social networks and blogs.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of ANDLineChartView or a related project?
ANDLineChartView for iOS
ANDLineChartView is easy to use view-based class for displaying animated line chart.
API is simple. Just implement following data source methods:
- (NSUInteger)numberOfElementsInChartView:(ANDLineChartView *)chartView; - (CGFloat)chartView:(ANDLineChartView *)chartView valueForElementAtRow:(NSUInteger)row; - (NSUInteger)numberOfGridIntervalsInChartView:(ANDLineChartView *)chartView; - (NSString*)chartView:(ANDLineChartView *)chartView descriptionForGridIntervalValue:(CGFloat)interval; - (CGFloat)maxValueForGridIntervalInChartView:(ANDLineChartView *)chartView; - (CGFloat)minValueForGridIntervalInChartView:(ANDLineChartView *)chartView;
You can also specify spacing between elements in chart by implementing optional delegate method :
- (CGFloat)chartView:(ANDLineChartView *)chartView spacingForElementAtRow:(NSUInteger)row
Font and colors are customizable through class properties.
To run the example project, just clone repo and open ANDLineChartView.xcworkspace .
iOS7 or later
ANDLineChartView is available through CocoaPods. To install it, simply add the following line to your Podfile:
Andrzej Naglik, [email protected]
ANDLineChartView is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the ANDLineChartView README section above are relevant to that project's source code only.