mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
35 lines
838 B
Objective-C
35 lines
838 B
Objective-C
//
|
|
// DemoBaseViewController.h
|
|
// ChartsDemo
|
|
//
|
|
// Copyright 2015 Daniel Cohen Gindi & Philipp Jahoda
|
|
// A port of MPAndroidChart for iOS
|
|
// Licensed under Apache License 2.0
|
|
//
|
|
// https://github.com/danielgindi/Charts
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
#import "ChartsDemo_iOS-Swift.h"
|
|
|
|
@interface DemoBaseViewController : UIViewController
|
|
{
|
|
@protected
|
|
NSArray *parties;
|
|
}
|
|
|
|
@property (nonatomic, strong) IBOutlet UIButton *optionsButton;
|
|
@property (nonatomic, strong) IBOutlet NSArray *options;
|
|
|
|
@property (nonatomic, assign) BOOL shouldHideData;
|
|
|
|
- (void)handleOption:(NSString *)key forChartView:(ChartViewBase *)chartView;
|
|
|
|
- (void)updateChartData;
|
|
|
|
- (void)setupPieChartView:(PieChartView *)chartView;
|
|
- (void)setupRadarChartView:(RadarChartView *)chartView;
|
|
- (void)setupBarLineChartView:(BarLineChartViewBase *)chartView;
|
|
|
|
@end
|