NChartTooltip Class Reference
| Inherits from | NChartLabel : NChartPlaced : NChartObject : NSObject |
|---|---|
| Declared in | NChartTooltip.h |
+ tooltip
Create new tooltip instance.
+ (NChartTooltip *)tooltipReturn Value
new tooltip instance.
Declared In
NChartTooltip.h
– setVisible:animated:
Change visibility of tooltip animated.
- (void)setVisible:(BOOL)visible animated:(float)durationParameters
visible |
|
|---|---|
duration |
|
Declared In
NChartTooltip.h
verticalAlignment
Vertical alignment of the tooltip. It is used if tooltip has no arrow presented, otherwise it is ignored.
@property (nonatomic, assign) NChartTooltipVerticalAlignment verticalAlignmentSee Also
Declared In
NChartTooltip.h
defaultArrowOrientation
Default orientation of the tooltip’s arrow. The default value is NChartTooltipArrowOrientationBottom.
@property (nonatomic, assign) NChartTooltipArrowOrientation defaultArrowOrientationDiscussion
The default arrow orientation is the orientation tooltip uses if it’s far from plot area borders.
If it’s close to border and alwaysInPlotArea is set to YES, it’s arrow orientation is automatically changed to
keep tooltip inside the plot area.
Declared In
NChartTooltip.h
alwaysInPlotArea
Flag determining if the tooltip should always be inside of the chart’s plot area. If YES, the tooltip may be shifted to fit in the plot area when it’s pivot is near the border of the chart’s plot area. If NO, it is never shifted and can overlap the axis when it’s pivot is near the border of the chart’s plot area. The default value is YES.
@property (nonatomic, assign) BOOL alwaysInPlotAreaDeclared In
NChartTooltip.h
image
Image of the tooltip. The default value is nil (no image displayed).
@property (nonatomic, retain) NSImage *imageDeclared In
NChartTooltip.h
imageAlignment
Alignment of the tooltip’s image. The default value is NChartTooltipImageAlignmentLeft.
@property (nonatomic, assign) NChartTooltipImageAlignment imageAlignmentDeclared In
NChartTooltip.h