NChartCallout Class Reference
| Inherits from | NChartTooltip : NChartLabel : NChartPlaced : NChartObject : NSObject |
|---|---|
| Declared in | NChartCallout.h |
+ callout
Create new callout instance.
+ (NChartCallout *)calloutReturn Value
new callout instance.
Declared In
NChartCallout.h
lineThickness
Thickness of the callout line. The default value is 1.
@property (nonatomic, assign) float lineThicknessDeclared In
NChartCallout.h
lineColor
Color of the callout line. The default value is [UIColor blackColor].
@property (nonatomic, strong) UIColor *lineColorDeclared In
NChartCallout.h
lineToLabelConnectionPos
Position where the line connects to the label. The default value is NChartCalloutLineToLabelConnectionPosAutodetect.
@property (nonatomic, assign) NChartCalloutLineToLabelConnectionPos lineToLabelConnectionPosDeclared In
NChartCallout.h
distance
Distance from the chart’s point to the callout’s tooltip in the autodetected direction (in pixels). If this property
is 0, margin is used to control this distance (and therefore you control the direction yourself).
Otherwise, the direction is detected automatically. In case of pie it’s median of the corresponding sector. In case
of all other charts it’s north-east direction. The default value is 0.
@property (nonatomic, assign) float distanceDeclared In
NChartCallout.h
lineType
Type of callout line. The default value is NChartCalloutLineTypeStraight.
@property (nonatomic, assign) NChartCalloutLineType lineTypeDeclared In
NChartCallout.h
locateByOrigin
origin
Position of the top left corner of callout in pixels based on view’s coordinate system, but with zero point shifted to the top left corner of chart plot area. The default value is {0; 0}.
@property (nonatomic, assign) CGPoint originDiscussion
This property has effect if locateByOrigin is set to YES only.
Declared In
NChartCallout.h
preventOverlapping
Property determining if the callout should be placed preventing overlapping with other callouts that have this
property set to something else than NChartCalloutOverlappingPreventionNone. The default value is
NChartCalloutOverlappingPreventionNone.
@property (nonatomic, assign) NChartCalloutOverlappingPrevention preventOverlappingDiscussion
This property has effect if locateByOrigin is set to NO only.
If this property is set to something different from NChartCalloutOverlappingPreventionNone, margin
and distance have no effect.
Declared In
NChartCallout.h