|
Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Go to the documentation of this file.
182 -(void)scatterPlotDataLineWasSelected:(nonnull
CPTScatterPlot *)plot;
198 -(void)scatterPlotDataLineTouchDown:(nonnull
CPTScatterPlot *)plot;
293 -(void)reloadPlotSymbolsInIndexRange:(
NSRange)indexRange;
298 -(void)addAreaFillBand:(nullable
CPTLimitBand *)limitBand;
299 -(void)removeAreaFillBand:(nullable
CPTLimitBand *)limitBand;
@ CPTScatterPlotInterpolationStepped
Steps beginning at data point.
Definition: CPTScatterPlot.h:37
Immutable wrapper for various line drawing properties. Create a CPTMutableLineStyle if you want to cu...
Definition: CPTLineStyle.h:20
CPTFill * areaFill
The fill style for the area underneath the data line. If nil, the area is not filled.
Definition: CPTScatterPlot.h:267
CPTLimitBandArray * areaFillBands
An array of CPTLimitBand objects.
Definition: CPTScatterPlot.h:260
@ CPTScatterPlotInterpolationCurved
Curved interpolation.
Definition: CPTScatterPlot.h:39
CPTScatterPlotBinding __nonnull const CPTScatterPlotBindingXValues
X values.
Definition: CPTScatterPlot.m:30
CPTScatterPlotInterpolation interpolation
The interpolation algorithm used for lines between data points. Default is CPTScatterPlotInterpolatio...
Definition: CPTScatterPlot.h:252
A plot data source.
Definition: CPTPlot.h:51
Defines a range and fill used to highlight a band of data.
Definition: CPTLimitBand.h:17
CPTPlotSymbol * plotSymbol
The plot symbol drawn at each point if the data source does not provide symbols. If nil,...
Definition: CPTScatterPlot.h:266
@ CPTScatterPlotFieldX
X values.
Definition: CPTScatterPlot.h:28
NSNumber * areaBaseValue
The Y coordinate of the straight boundary of the area fill. If not a number, the area is not filled.
Definition: CPTScatterPlot.h:250
CPTScatterPlotBinding __nonnull const CPTScatterPlotBindingPlotSymbols
Plot symbols.
Definition: CPTScatterPlot.m:32
@ CPTScatterPlotCurvedInterpolationCatmullRomUniform
Catmull-Rom Spline Interpolation with alpha = 0.0.
Definition: CPTScatterPlot.h:47
BOOL allowSimultaneousSymbolAndPlotSelection
YES if both symbol selection and line selection can happen on the same upEvent. If NO then when an up...
Definition: CPTScatterPlot.h:280
@ CPTScatterPlotHistogramNormal
Standard histogram.
Definition: CPTScatterPlot.h:58
@ CPTScatterPlotCurvedInterpolationCatmullCustomAlpha
Catmull-Rom Spline Interpolation with a custom alpha value.
Definition: CPTScatterPlot.h:50
CGFloat plotLineMarginForHitDetection
A margin added to each side of a plot line when determining whether it has been hit.
Definition: CPTScatterPlot.h:279
CPTScatterPlotCurvedInterpolationOption
Enumration of scatter plot curved interpolation style options.
Definition: CPTScatterPlot.h:45
@ CPTScatterPlotInterpolationHistogram
Steps centered at data point.
Definition: CPTScatterPlot.h:38
CPTScatterPlotField
Enumeration of scatter plot data source field types.
Definition: CPTScatterPlot.h:27
@ CPTScatterPlotFieldY
Y values.
Definition: CPTScatterPlot.h:29
Draws area fills.
Definition: CPTFill.h:18
@ CPTScatterPlotCurvedInterpolationHermiteCubic
Hermite Cubic Spline Interpolation.
Definition: CPTScatterPlot.h:51
A scatter plot data source.
Definition: CPTScatterPlot.h:69
@ CPTScatterPlotHistogramOptionCount
The number of histogram options available.
Definition: CPTScatterPlot.h:61
@ CPTScatterPlotCurvedInterpolationCatmullRomChordal
Catmull-Rom Spline Interpolation with alpha = 1.0.
Definition: CPTScatterPlot.h:49
@ CPTScatterPlotCurvedInterpolationNormal
Standard Curved Interpolation (Bezier Curve)
Definition: CPTScatterPlot.h:46
Plot symbols for CPTScatterPlot.
Definition: CPTPlotSymbol.h:37
@ CPTScatterPlotInterpolationLinear
Linear interpolation.
Definition: CPTScatterPlot.h:36
A two-dimensional scatter plot.
Definition: CPTScatterPlot.h:247
CGFloat curvedInterpolationCustomAlpha
The custom alpha value used when the CPTScatterPlotCurvedInterpolationCatmullCustomAlpha interpolatio...
Definition: CPTScatterPlot.h:255
CGPathRef newDataLinePath
The path used to draw the data line. The caller must release the returned path.
Definition: CPTScatterPlot.h:273
CPTScatterPlotHistogramOption histogramOption
The drawing style for a histogram plot line (interpolation = CPTScatterPlotInterpolationHistogram)....
Definition: CPTScatterPlot.h:253
CGFloat plotSymbolMarginForHitDetection
A margin added to each side of a symbol when determining whether it has been hit.
Definition: CPTScatterPlot.h:278
void reloadPlotSymbols()
Reload all plot symbols from the data source immediately.
Definition: CPTScatterPlot.m:399
@ CPTScatterPlotHistogramSkipFirst
Skip the first step of the histogram.
Definition: CPTScatterPlot.h:59
CPTScatterPlotBinding __nonnull const CPTScatterPlotBindingYValues
Y values.
Definition: CPTScatterPlot.m:31
An abstract plot class.
Definition: CPTPlot.h:258
@ CPTScatterPlotCurvedInterpolationCatmullRomCentripetal
Catmull-Rom Spline Interpolation with alpha = 0.5.
Definition: CPTScatterPlot.h:48
#define cpt_swift_struct
Marks a type definition to be imported into Swift as a structure.
Definition: CPTDefinitions.h:73
CPTScatterPlotInterpolation
Enumeration of scatter plot interpolation algorithms.
Definition: CPTScatterPlot.h:35
@ CPTScatterPlotHistogramSkipSecond
Skip the second step of the histogram.
Definition: CPTScatterPlot.h:60
CPTLineStyle * dataLineStyle
The line style for the data line. If nil, the line is not drawn.
Definition: CPTScatterPlot.h:265
Scatter plot delegate.
Definition: CPTScatterPlot.h:102
CPTScatterPlotCurvedInterpolationOption curvedInterpolationOption
The interpolation method used to generate the curved plot line (interpolation = CPTScatterPlotInterpo...
Definition: CPTScatterPlot.h:254
Plot delegate.
Definition: CPTPlot.h:170
CPTFill * areaFill2
The fill style for the area above the data line. If nil, the area is not filled.
Definition: CPTScatterPlot.h:268
NSNumber * areaBaseValue2
The Y coordinate of the straight boundary of the secondary area fill. If not a number,...
Definition: CPTScatterPlot.h:251
CPTScatterPlotHistogramOption
Enumeration of scatter plot histogram style options.
Definition: CPTScatterPlot.h:57