Operating system requirements: iOS 5.0 or later.
Mobile device: iPad.
This example describes creating of a chart with the following parameters:
Chart data is retrieved from text file.
A label is displayed on the series click.
Chart legend is displayed.
A menu used for chart type change is present.
Chart appearance:
AppDelegate.h/.m. Application parameters.
data.txt. Data.
DataSource.h/.m. Get chart data.
DifferentCharts_Prefix.pch. Common title.
main.m. Main file of source code.
Menu.h/.m. Menu for selecting chart type.
MenuTableController.h/.m. Menu control object.
SelectedCellAction.h. Protocol for working with selected menu cell.
ViewController.h/.m. Chart parameters.
See also: