NChartScaleLegend Class Reference
| Inherits from | NChartLegend : NChartPlaced : NChartObject : NSObject |
|---|---|
| Declared in | NChartScaleLegend.h |
Overview
The NChartScaleLegend class provides methods to display the legend associated with the NChartBrushScale instance.
– initWithScale:
Initialize scale legend with given brush scale.
- (id)initWithScale:(NChartBrushScale *)scaleParameters
scale |
|
|---|
Return Value
initialized instance of scale legend.
Declared In
NChartScaleLegend.h
+ scaleLegendWithScale:
Create scale legend with given brush scale.
+ (NChartScaleLegend *)scaleLegendWithScale:(NChartBrushScale *)scaleParameters
scale |
|
|---|
Return Value
new instance of scale legend.
Declared In
NChartScaleLegend.h
scale
Brush scale associated with the scale legend. The default value is nil.
@property (nonatomic, strong) NChartBrushScale *scaleSee Also
Declared In
NChartScaleLegend.h
showLowerBoundary
Flag determining if the lower boundary of the scale should be shown in the scale legend (YES) or not (NO). The default value is YES.
@property (nonatomic, assign) BOOL showLowerBoundaryDeclared In
NChartScaleLegend.h
showUpperBoundary
Flag determining if the upper boundary of the scale should be shown in the scale legend (YES) or not (NO). The default value is YES.
@property (nonatomic, assign) BOOL showUpperBoundaryDeclared In
NChartScaleLegend.h
showMiddleValues
Flag determining if the middle values of the scale should be shown in the scale legend (YES) or not (NO). The default value is YES.
@property (nonatomic, assign) BOOL showMiddleValuesDeclared In
NChartScaleLegend.h
isDescending
Flag determining if the values in the scale legend are sorted descending (the largest is on the top, YES) or not (the largest is on the bottom, NO). The default value is YES.
@property (nonatomic, assign) BOOL isDescendingDeclared In
NChartScaleLegend.h
isContinuous
Flag determining if the legend displays continuous gradient (YES) or discrete color steps (NO). The default value is NO.
@property (nonatomic, assign) BOOL isContinuousDeclared In
NChartScaleLegend.h
markerSize
Size of legend markers (in pixels). The default value is 30x15.
@property (nonatomic, assign) CGSize markerSizeDeclared In
NChartScaleLegend.h
scaleDelegate
Delegate of the scale legend.
@property (nonatomic, assign) id<NChartScaleLegendDelegate> scaleDelegateDeclared In
NChartScaleLegend.h