Skip to content

Commit

Permalink
Updated demo imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jjatie committed Mar 14, 2018
1 parent 2a6931f commit bb92e1f
Show file tree
Hide file tree
Showing 27 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion ChartsDemo-iOS/Objective-C/DemoBaseViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import <UIKit/UIKit.h>
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface DemoBaseViewController : UIViewController
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "AnotherBarChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface AnotherBarChartViewController () <ChartViewDelegate>

Expand Down
2 changes: 1 addition & 1 deletion ChartsDemo-iOS/Objective-C/Demos/BarChartViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "BarChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"
#import "DayAxisValueFormatter.h"

@interface BarChartViewController () <ChartViewDelegate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "BubbleChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface BubbleChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "CandleStickChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface CandleStickChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "ColoredLineChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface ColoredLineChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "CombinedChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

#define ITEM_COUNT 12

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "CubicLineChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface CubicLineSampleFillFormatter : NSObject <ChartFillFormatter>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "HalfPieChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface HalfPieChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "HorizontalBarChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface HorizontalBarChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "LineChart1ViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface LineChart1ViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "LineChart2ViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface LineChart2ViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "LineChartFilledViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface LineChartFilledViewController () <ChartViewDelegate>

Expand Down Expand Up @@ -123,7 +123,7 @@ - (void)setDataCount:(int)count range:(double)range
set1.fillColor = UIColor.whiteColor;
set1.highlightColor = [UIColor colorWithRed:244/255.0 green:117/255.0 blue:117/255.0 alpha:1.0];
set1.drawCircleHoleEnabled = NO;
set1.fillFormatter = [ChartDefaultFillFormatter withBlock:^CGFloat(id<ILineChartDataSet> _Nonnull dataSet, id<LineChartDataProvider> _Nonnull dataProvider) {
set1.fillFormatter = [ChartDefaultFillFormatter withBlock:^CGFloat(id<LineChartDataSetProtocol> _Nonnull dataSet, id<LineChartDataProvider> _Nonnull dataProvider) {
return self.chartView.leftAxis.axisMinimum;
}];

Expand All @@ -138,7 +138,7 @@ - (void)setDataCount:(int)count range:(double)range
set2.fillColor = UIColor.whiteColor;
set2.highlightColor = [UIColor colorWithRed:244/255.0 green:117/255.0 blue:117/255.0 alpha:1.0];
set2.drawCircleHoleEnabled = NO;
set2.fillFormatter = [ChartDefaultFillFormatter withBlock:^CGFloat(id<ILineChartDataSet> _Nonnull dataSet, id<LineChartDataProvider> _Nonnull dataProvider) {
set2.fillFormatter = [ChartDefaultFillFormatter withBlock:^CGFloat(id<LineChartDataSetProtocol> _Nonnull dataSet, id<LineChartDataProvider> _Nonnull dataProvider) {
return self.chartView.leftAxis.axisMaximum;
}];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "LineChartTimeViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"
#import "DateValueFormatter.h"

@interface LineChartTimeViewController () <ChartViewDelegate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "MultipleBarChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"
#import "IntAxisValueFormatter.h"

@interface MultipleBarChartViewController () <ChartViewDelegate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "MultipleLinesChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface MultipleLinesChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "NegativeStackedBarChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface NegativeStackedBarChartViewController () <ChartViewDelegate, ChartAxisValueFormatter>

Expand Down
2 changes: 1 addition & 1 deletion ChartsDemo-iOS/Objective-C/Demos/PieChartViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "PieChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface PieChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

#import "PiePolylineChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface PiePolylineChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "PositiveNegativeBarChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface PositiveNegativeBarChartViewController () <ChartViewDelegate, ChartAxisValueFormatter>
{
Expand Down
4 changes: 2 additions & 2 deletions ChartsDemo-iOS/Objective-C/Demos/RadarChartViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
//

#import "RadarChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface RadarChartViewController () <ChartViewDelegate, IChartAxisValueFormatter>
@interface RadarChartViewController () <ChartViewDelegate, ChartAxisValueFormatter>

@property (nonatomic, strong) IBOutlet RadarChartView *chartView;
@property (nonatomic, strong) NSArray<NSString *> *activities;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "ScatterChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface ScatterChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "SinusBarChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface SinusBarChartViewController () <ChartViewDelegate>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import "StackedBarChartViewController.h"
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface StackedBarChartViewController () <ChartViewDelegate>

Expand Down
2 changes: 1 addition & 1 deletion ChartsDemo-iOS/Objective-C/Formatters/DateValueFormatter.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//

#import <UIKit/UIKit.h>
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface DateValueFormatter : NSObject <ChartAxisValueFormatter>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

#import <UIKit/UIKit.h>
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface DayAxisValueFormatter : NSObject <ChartAxisValueFormatter>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//

#import <UIKit/UIKit.h>
#import "ChartsDemo-Swift.h"
#import "ChartsDemo_iOS-Swift.h"

@interface IntAxisValueFormatter : NSObject <ChartAxisValueFormatter>

Expand Down

0 comments on commit bb92e1f

Please sign in to comment.