init(plotType:selectedDate:configurations:storeManager:)
Creates a new chart view controller with a specific plot type, date, and configuration.
Declaration
convenience init(plotType: OCKCartesianGraphView.PlotType, selectedDate: Date, configurations: [OCKDataSeriesConfiguration], storeManager: OCKSynchronizedStoreManager)Parameters
- plotType :
The visual way the chart plots data, such as a bar, line, or scatter.
- selectedDate :
A date the chart contains. Charts show a week’s worth of data; the date you provide will be part of the week.
- configurations :
An object that specifies which data to query, and how the graph will display it.
- storeManager :
The object that synchronizes between the store and controller.