ChartsViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | CPTPlotDataSource |
| Declared in | ChartsViewController.h ChartsViewController.m |
Tasks
Other Methods
-
hostViewproperty -
selectedThemeproperty -
passedScheduledGameproperty -
– initPlot -
– configureHost -
– configureGraph -
– configureChart -
– configureLegend
Other Methods
Instance Methods
configureChart
Core Plot Chart Initialization.
- (void)configureChartDeclared In
ChartsViewController.mconfigureGraph
Core Plot Graph Initialization.
- (void)configureGraphDeclared In
ChartsViewController.mconfigureHost
Core Plot Host View Initialization.
- (void)configureHostDeclared In
ChartsViewController.mconfigureLegend
Core Plot Legend Initialization.
- (void)configureLegendDeclared In
ChartsViewController.mdataLabelForPlot:recordIndex:
Core Plot delegate to get the Labels to Plot.
- (CPTLayer *)dataLabelForPlot:(CPTPlot *)plot recordIndex:(NSUInteger)indexParameters
- plot
The Plot
- index
Index to Plot
Return Value
Layer to Plot
Declared In
ChartsViewController.mdidReceiveMemoryWarning
Standard iOS delegate when memory warning.
- (void)didReceiveMemoryWarningReturn Value
<#return value description#>
Declared In
ChartsViewController.mdidRotateFromInterfaceOrientation:
Standard iOS delegate when this view is finished rotated.
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientationParameters
- toInterfaceOrientation
Orientation being displayed
- duration
Duration of orientation
Declared In
ChartsViewController.mlegendTitleForPieChart:recordIndex:
Core Plot delegate to get the Title to Plot.
- (NSString *)legendTitleForPieChart:(CPTPieChart *)pieChart recordIndex:(NSUInteger)indexParameters
- pieChart
The Pie Chart Plot
- index
Index to Plot
Return Value
Title Plot
Declared In
ChartsViewController.mnumberForPlot:field:recordIndex:
Core Plot delegate to get the Record to Plot.
- (NSNumber *)numberForPlot:(CPTPlot *)plot field:(NSUInteger)fieldEnum recordIndex:(NSUInteger)indexParameters
- plot
The Plot
- fieldEnum
Field to Plot
- index
Index to Plot
Return Value
number to Plot
Declared In
ChartsViewController.mnumberOfRecordsForPlot:
Core Plot delegate to get number of Records to Plot.
- (NSUInteger)numberOfRecordsForPlot:(CPTPlot *)plotParameters
- plot
The Plot
Return Value
number of Records to Plot
Declared In
ChartsViewController.monClickSelectChart:
Button handler for the Chart Select Segment button.
- (IBAction)onClickSelectChart:(UISegmentedControl *)senderParameters
- sender
The sender for the Event
Declared In
ChartsViewController.msupportedInterfaceOrientations
Standard iOS delegate to get the allowed orientation of the application.
- (NSUInteger)supportedInterfaceOrientationsReturn Value
<#return value description#>
Declared In
ChartsViewController.m