XuniLegend Class Reference
Inherits from | NSObject |
---|---|
Declared in | Legend.h |
position
Gets or sets the legend position.
@property (nonatomic, getter=getPosition) XuniChartLegendPosition position
Discussion
Gets or sets the legend position.
Declared In
Legend.h
backgroundColor
Gets or sets the background color of the legend.
@property (nonatomic) UIColor *backgroundColor
Discussion
Gets or sets the background color of the legend.
Declared In
Legend.h
borderColor
Gets or sets the border color of the legend.
@property (nonatomic) UIColor *borderColor
Discussion
Gets or sets the border color of the legend.
Declared In
Legend.h
borderWidth
Gets or sets the border width of the legend.
@property (nonatomic) double borderWidth
Discussion
Gets or sets the border width of the legend.
Declared In
Legend.h
labelFont
Gets or sets the font of the legend labels.
@property (nonatomic) UIFont *labelFont
Discussion
Gets or sets the font of the legend labels.
Declared In
Legend.h
labelTextColor
Gets or sets the text color of the legend labels.
@property (nonatomic) UIColor *labelTextColor
Discussion
Gets or sets the text color of the legend labels.
Declared In
Legend.h
isVertical
Gets whether the legend is vertical.
@property (readonly) BOOL isVertical
Discussion
Gets whether the legend is vertical.
Declared In
Legend.h
orientation
Gets or sets the orientation of the legend.
@property (nonatomic, getter=getOrientation) XuniChartLegendOrientation orientation
Discussion
Gets or sets the orientation of the legend.
Declared In
Legend.h
– initForChart:
Initialize an object for XuniLegend.
- (id)initForChart:(FlexChartBase *)chart
Parameters
chart |
the chart. |
---|
Return Value
return an object of XuniLegend.
Discussion
Initialize an object for XuniLegend.
Declared In
Legend.h
– getDesiredSize:
Gets desired size.
- (XuniSize *)getDesiredSize:(XuniRenderEngine *)engine
Parameters
engine |
the engine. |
---|
Return Value
return the desired size.
Discussion
Gets desired size.
Declared In
Legend.h
– render:atPoint:
Render legend at the point.
- (void)render:(XuniRenderEngine *)engine atPoint:(XuniPoint *)point
Parameters
engine |
the engine. |
---|---|
point |
the point. |
Discussion
Render legend at the point.
Declared In
Legend.h
– hitTest:
Judge which area the point is in.
- (int)hitTest:(XuniPoint *)point
Parameters
point |
the point. |
---|
Return Value
return the index of the area.
Discussion
Judge which area the point is in.
Declared In
Legend.h