Contents

init(viewSynchronizer:weekOfDate:configurations:storeManager:)

Creates a new chart view controller with a specific date, synchronizer, and configuration.

Declaration

convenience init(viewSynchronizer: ViewSynchronizer, weekOfDate: Date, configurations: [OCKDataSeriesConfiguration], storeManager: OCKSynchronizedStoreManager)

Parameters

  • viewSynchronizer :

    The object that handles updating the view when data in the store changes.

  • weekOfDate :

    The date the chart will contain. Charts show a weeks 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.

See Also

Creating Chart View Controllers