DemoBaseViewController.h 838 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // DemoBaseViewController.h
  3. // ChartsDemo
  4. //
  5. // Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda
  6. // A port of MPAndroidChart for iOS
  7. // Licensed under Apache License 2.0
  8. //
  9. // https://github.com/danielgindi/Charts
  10. //
  11. #import <UIKit/UIKit.h>
  12. #import "ChartsDemo_iOS-Swift.h"
  13. @interface DemoBaseViewController : UIViewController
  14. {
  15. @protected
  16. NSArray *parties;
  17. }
  18. @property (nonatomic, strong) IBOutlet UIButton *optionsButton;
  19. @property (nonatomic, strong) IBOutlet NSArray *options;
  20. @property (nonatomic, assign) BOOL shouldHideData;
  21. - (void)handleOption:(NSString *)key forChartView:(ChartViewBase *)chartView;
  22. - (void)updateChartData;
  23. - (void)setupPieChartView:(PieChartView *)chartView;
  24. - (void)setupRadarChartView:(RadarChartView *)chartView;
  25. - (void)setupBarLineChartView:(BarLineChartViewBase *)chartView;
  26. @end