|
Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Go to the documentation of this file.
28 +(nonnull instancetype)dataSourceForPlot:(nonnull
CPTPlot *)plot withFunction:(nonnull
CPTDataSourceFunction) function NS_SWIFT_NAME(
init(for:withFunction:));
30 +(nonnull instancetype)dataSourceForPlot:(nonnull
CPTPlot *)plot withBlock:(nonnull
CPTDataSourceBlock) block NS_SWIFT_NAME(
init(for:withBlock:));
38 -(nonnull instancetype)initForPlot:(nonnull
CPTPlot *)plot withBlock:(nonnull
CPTDataSourceBlock) block NS_SWIFT_NAME(
init(forPlot:withBlock:));
CPTPlot * dataPlot
The plot that will display the function values. Must be an instance of CPTScatterPlot.
Definition: CPTFunctionDataSource.h:21
CGFloat resolution
The maximum number of pixels between data points on the plot. Default is 1.0.
Definition: CPTFunctionDataSource.h:23
A plot data source.
Definition: CPTPlot.h:51
Defines an immutable range of plot data.
Definition: CPTPlotRange.h:27
CPTDataSourceBlock dataSourceBlock
The Objective-C block used to generate plot data.
Definition: CPTFunctionDataSource.h:20
double(* CPTDataSourceFunction)(double)
A function called to generate plot data in a CPTFunctionDataSource datasource.
Definition: CPTFunctionDataSource.h:10
A datasource class that automatically creates scatter plot data from a function or Objective-C block.
Definition: CPTFunctionDataSource.h:17
An abstract plot class.
Definition: CPTPlot.h:258
double(^ CPTDataSourceBlock)(double)
An Objective-C block called to generate plot data in a CPTFunctionDataSource datasource.
Definition: CPTFunctionDataSource.h:15
CPTDataSourceFunction dataSourceFunction
The function used to generate plot data.
Definition: CPTFunctionDataSource.h:19
CPTPlotRange * dataRange
The maximum range of x-values that will be plotted. If nil (the default), the function will be plotte...
Definition: CPTFunctionDataSource.h:24