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 *)scale
Parameters
scale |
|
---|
Return Value
initialized instance of scale legend.
Declared In
NChartScaleLegend.h
+ scaleLegendWithScale:
Create scale legend with given brush scale.
+ (NChartScaleLegend *)scaleLegendWithScale:(NChartBrushScale *)scale
Parameters
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 *scale
See 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 showLowerBoundary
Declared 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 showUpperBoundary
Declared 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 showMiddleValues
Declared 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 isDescending
Declared 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 isContinuous
Declared In
NChartScaleLegend.h
markerSize
Size of legend markers (in pixels). The default value is 30x15.
@property (nonatomic, assign) CGSize markerSize
Declared In
NChartScaleLegend.h
scaleDelegate
Delegate of the scale legend.
@property (nonatomic, assign) id<NChartScaleLegendDelegate> scaleDelegate
Declared In
NChartScaleLegend.h