com.nchart3d.NChart.NChartTouchArea Class Reference
The NChartTouchArea class provides methods to define touch area for NChartTouchAreaSeries. More...
Inheritance diagram for com.nchart3d.NChart.NChartTouchArea:
Public Member Functions | |
NChartTouchArea (RectF area, NChartSeries series) | |
Initialize touch area with given area. More... | |
RectF | getArea () |
Touch area rect. | |
void | setArea (RectF area) |
For details see getArea(). | |
Public Member Functions inherited from com.nchart3d.NChart.NChartPoint | |
NChartPoint (NChartPointState[] states, NChartSeries series) | |
Create point with an array of states. More... | |
NChartPoint (NChartPointState state, NChartSeries series) | |
Create point with a single state. More... | |
NChartSeries | getSeries () |
NChartPointState[] | getStates () |
If a point was created with a single state, the array of states is not allocated and this property returns null. More... | |
int | getCurrentStateIndex () |
If a point was created with a single state, this property always returns 0. More... | |
NChartPointState | getCurrentState () |
Direct access to current state. More... | |
NChartTooltip | getTooltip () |
The tooltip is just a label, it does not change its content automatically. More... | |
void | setTooltip (NChartTooltip tooltip) |
For details see getTooltip(). More... | |
NChartTooltip | getLabel () |
It is null by default. More... | |
void | setLabel (NChartTooltip label) |
For details see getLabel(). More... | |
int | getHighlightColor () |
Highlight color. More... | |
void | setHighlightColor (int highlightColor) |
For details see getHighlightColor(). | |
float | getHighlightShift () |
Highlight shift. More... | |
void | setHighlightShift (float highlightShift) |
For details see getHighlightShift(). | |
void | highlight (int mask, float duration, float delay) |
Highlight point using the highlight settings done by highlightColor and highlightShift properties. More... | |
NChartAccessibilityElement | accessibilityElement () |
Accessibility element tied to the point. More... | |
void | setAccessibilityElement (NChartAccessibilityElement accessibilityElement) |
For details see accessibilityElement(). More... | |
Additional Inherited Members | |
Public Attributes inherited from com.nchart3d.NChart.NChartPoint | |
int | tag |
Tag of the point. More... | |
Detailed Description
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.
Constructor & Destructor Documentation
|
inline |
Initialize touch area with given area.
- Parameters
-
area - area for touch area. series - series for touch area.