TKChartPlotView Class Reference
Inherits from | TKView : UIView |
Conforms to | UIGestureRecognizerDelegate |
Declared in | TKChartPlotView.h |
Tasks
-
chart
property -
grid
property -
panZoomRecognizer
property -
rotateOneFingerRecognizer
property -
rotateTwoFingerRecognizer
property -
longPressRecognizer
property -
doubleTapGestureRecognizer
property -
handleTap
property -
– initWithChart:
-
– hitTestForPoint:
-
– renderForSeries:
Properties
chart
The associated TKChart instance.
@property (nonatomic, weak, readonly, null_unspecified) TKChart *chart
Declared In
TKChartPlotView.h
doubleTapGestureRecognizer
The gesture recognizer responsible for a double tap gesture (reset zoom) in chart.
@property (nonatomic, strong, readonly, nonnull) UITapGestureRecognizer *doubleTapGestureRecognizer
Declared In
TKChartPlotView.h
grid
Returns the plot view grid.
@property (nonatomic, strong, readonly, nonnull) TKChartGridRender *grid
Declared In
TKChartPlotView.h
handleTap
Determines whether a tap gesture will be handled by the chart to allow selection and trackball features.
@property (nonatomic) BOOL handleTap
Declared In
TKChartPlotView.h
longPressRecognizer
The gesture recognizer responsible for a long press in chart.
@property (nonatomic, strong, readonly, nonnull) UILongPressGestureRecognizer *longPressRecognizer
Declared In
TKChartPlotView.h
panZoomRecognizer
The gesture recognizer responsible for pan/zoom gestures in chart.
@property (nonatomic, strong, readonly, nonnull) UIGestureRecognizer *panZoomRecognizer
Declared In
TKChartPlotView.h
rotateOneFingerRecognizer
The gesture recognizer responsible for a single finger rotation in chart.
@property (nonatomic, strong, readonly, nonnull) UIGestureRecognizer *rotateOneFingerRecognizer
Declared In
TKChartPlotView.h
rotateTwoFingerRecognizer
The gesture recognizer responsible for two finger rotation in chart.
@property (nonatomic, strong, readonly, nonnull) UIRotationGestureRecognizer *rotateTwoFingerRecognizer
Declared In
TKChartPlotView.h
Instance Methods
hitTestForPoint:
Does a hit point test.
- (TKChartSelectionInfo *__nullable)hitTestForPoint:(CGPoint)point
Parameters
- point
The underlying point in screen coordinates.
Return Value
A TKChartHitTestResult containing information about the hit point found. Returns nil on no hit test found.
Declared In
TKChartPlotView.h
initWithChart:
Initializes the plot view with a chart.
- (instancetype __nonnull)initWithChart:(TKChart *__nonnull)chart
Parameters
- chart
The chart that owns the plot view.
Declared In
TKChartPlotView.h
renderForSeries:
Returns a render responsible for rendering of specific series.
- (TKChartSeriesRender *__nullable)renderForSeries:(TKChartSeries *__nonnull)series
Parameters
- series
The series which render should be returned.
Return Value
An instance of TKChartSeriesRender if successfull.
Declared In
TKChartPlotView.h