NChartTouchArea Class Reference
Inherits from | NChartPoint : NSObject |
---|---|
Declared in | NChartTouchAreaSeries.h |
Overview
The NChartTouchArea class provides methods to define touch area for NChartTouchAreaSeries. Area is defined in relative coordinates that should be in [0, 1]x[0, 1] and relates to the size of background set through NChartTouchAreaSeriesSettings. (0, 0) corresponds to the top-left corner of the background image, (1, 1) - to the bottom-right.
+ touchAreaWithArea:forSeries:
Create touch area with given area.
+ (NChartTouchArea *)touchAreaWithArea:(CGRect)area forSeries:(NChartSeries *)series
Parameters
area |
|
---|---|
series |
|
Return Value
new instance of touch area.
Declared In
NChartTouchAreaSeries.h
– initWithArea:forSeries:
Initialize touch area with given area.
- (id)initWithArea:(CGRect)area forSeries:(NChartSeries *)series
Parameters
area |
|
---|---|
series |
|
Return Value
initialized instance of touch area.
Declared In
NChartTouchAreaSeries.h