NChartHair Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | NChartCrosshair.h |
visible
Flag determining if hair is visible (YES) or not (NO). The default value is YES.
@property (nonatomic, assign) BOOL visibleDeclared In
NChartCrosshair.h
hostsOnSAxis
Flag determining if hair is hosted on secondary axis (YES) or not (NO). The default value is NO.
@property (nonatomic, assign) BOOL hostsOnSAxisDeclared In
NChartCrosshair.h
value
Value the hair intersects its axis in. The default value is 0.
@property (nonatomic, assign) double valueDeclared In
NChartCrosshair.h
firstHalfColor
The color of the first half of hair. If nil, not displayed. The default value is nil.
The color of the hairs part from the axis to the point it marks.
@property (nonatomic, strong) NSColor *firstHalfColorDeclared In
NChartCrosshair.h
secondHalfColor
The color of the second half of hair. If nil, not displayed. The default value is nil.
The color of the hairs part from the the point it marks to the end of chart plot area.
@property (nonatomic, strong) NSColor *secondHalfColorDeclared In
NChartCrosshair.h
– setColor:
Set color for both halves of hair.
- (void)setColor:(NSColor *)colorParameters
color |
|
|---|
Declared In
NChartCrosshair.h
isDraggable
Flag determining if hair can be dragged (YES) or not (NO). The default value is YES.
@property (nonatomic, assign) BOOL isDraggableDeclared In
NChartCrosshair.h
snapToMajorTicks
Flag determining if hair should snap to major ticks while moving. The default value is NO.
@property (nonatomic, assign) BOOL snapToMajorTicksDeclared In
NChartCrosshair.h
snapToMinorTicks
Flag determining if hair should snap to minor ticks while moving. The default value is NO.
@property (nonatomic, assign) BOOL snapToMinorTicksDeclared In
NChartCrosshair.h
tooltip
Tooltip of the hair. The default value is nil.
To display tooltip you should set it before your updateData call.
@property (nonatomic, strong) NChartTooltip *tooltipDeclared In
NChartCrosshair.h
tooltipPosition
Position of the hair’s tooltip. The default value is NChartCrosshairTooltipPositionByMax.
@property (nonatomic, assign) NChartCrosshairTooltipPosition tooltipPositionSee Also
Declared In
NChartCrosshair.h