FlexPie Class Reference
Inherits from | FlexChartBase : XuniView : UIView |
---|---|
Conforms to | UIGestureRecognizerDelegate |
Declared in | FlexPie.h |
dataLabel
Gets or sets the dataLabel.
@property (nonatomic) FlexPieDataLabel *dataLabel
Discussion
Gets or sets the dataLabel.
Declared In
FlexPie.h
bindingName
Gets or sets the name of the property that contains the name of the data item.
@property (nonatomic) IBInspectable NSString *bindingName
Discussion
Gets or sets the name of the property that contains the name of the data item.
Declared In
FlexPie.h
startAngle
Gets or sets the starting angle for the pie slices, in degrees. Angles are measured clockwise, starting at the 9 o'clock position.
@property (nonatomic) IBInspectable double startAngle
Discussion
Gets or sets the starting angle for the pie slices, in degrees. Angles are measured clockwise, starting at the 9 o'clock position.
Declared In
FlexPie.h
offset
Gets or sets the offset of the slices from the pie center. The offset is measured as a fraction of the pie radius.
@property (nonatomic) IBInspectable double offset
Discussion
Gets or sets the offset of the slices from the pie center. The offset is measured as a fraction of the pie radius.
Declared In
FlexPie.h
innerRadius
Gets or sets the size of the pie’s inner radius.
@property (nonatomic) IBInspectable double innerRadius
Discussion
Gets or sets the size of the pie’s inner radius.
Declared In
FlexPie.h
reversed
Gets or sets whether angles are reversed (counter-clockwise).
@property (nonatomic) IBInspectable BOOL reversed
Discussion
Gets or sets whether angles are reversed (counter-clockwise).
Declared In
FlexPie.h
selectedItemPosition
Gets or sets the position of the selected slice.
@property (nonatomic) XuniPosition selectedItemPosition
Discussion
Gets or sets the position of the selected slice.
Declared In
FlexPie.h
selectedIndex
Gets or sets the index of the selected slice.
@property (nonatomic) IBInspectable NSInteger selectedIndex
Discussion
Gets or sets the index of the selected slice.
Declared In
FlexPie.h
setWithCode
Gets or sets the selectedIndex with code.
@property (nonatomic) BOOL setWithCode
Discussion
Gets or sets the selectedIndex with code.
Declared In
FlexPie.h
isAnimated
Gets or sets a value indicating whether to use animation when items are selected.
@property (nonatomic) IBInspectable BOOL isAnimated
Discussion
Gets or sets a value indicating whether to use animation when items are selected.
Declared In
FlexPie.h
isUpdateAnimated
Gets or sets a value indicating whether to use updateanimation when items are updated.
@property (nonatomic) IBInspectable BOOL isUpdateAnimated
Discussion
Gets or sets a value indicating whether to use updateanimation when items are updated.
Declared In
FlexPie.h
loadAnimation
Gets or sets the load animation of pie.
@property (nonatomic) XuniChartLoadAnimation *loadAnimation
Discussion
Gets or sets the load animation of pie.
Declared In
FlexPie.h
updateAnimation
Gets or sets the update animation of pie.
@property (nonatomic) XuniAnimation *updateAnimation
Discussion
Gets or sets the update animation of pie.
Declared In
FlexPie.h
selectAnimation
Gets or sets the animation when selected an item of pie.
@property (nonatomic) XuniAnimation *selectAnimation
Discussion
Gets or sets the animation when selected an item of pie.
Declared In
FlexPie.h
values
Gets or sets the values of pie segment.
@property (readonly) NSArray<NSNumber*> *values
Discussion
Gets or sets the values of pie segment.
Declared In
FlexPie.h
labels
Gets or sets the labels of legend.
@property (readonly) NSArray<NSString*> *labels
Discussion
Gets or sets the labels of legend.
Declared In
FlexPie.h
sliceBorderWidth
Gets or sets the border width of slice.
@property (nonatomic) IBInspectable double sliceBorderWidth
Discussion
Gets or sets the border width of slice.
Declared In
FlexPie.h
valueFormatter
Gets or sets the value formatter.
@property (nonatomic) NSObject<IXuniValueFormatter> *valueFormatter
Discussion
Gets or sets the value formatter.
Declared In
FlexPie.h
isXamarinLabel
Gets or sets the whether is Xamarin’s data label.
@property (nonatomic) BOOL isXamarinLabel
Discussion
Gets or sets the whether is Xamarin’s data label.
Declared In
FlexPie.h
– rotation
Internal variable used to calculate the current rotation.
- (double)rotation
Discussion
Internal variable used to calculate the current rotation.
Declared In
FlexPie.h
– hitTest:
Gets a HitTestInfo object with information about a given point.
- (XuniPieHitTestInfo *)hitTest:(XuniPoint *)point
Parameters
point |
Point to investigate, in screen coordinates. |
---|
Return Value
HitTestInfo object with information about the point.
Discussion
Gets a HitTestInfo object with information about a given point.
Declared In
FlexPie.h
– measureLegendItem:name:
Gets a size of the legend item.
- (XuniSize *)measureLegendItem:(XuniRenderEngine *)engine name:(NSString *)name
Parameters
engine |
the render engine. |
---|---|
name |
the item name. |
Return Value
XuniSize object about the legend item.
Discussion
Gets a size of the legend item.
Declared In
FlexPie.h
– drawLegendItem:rect:i:name:
Draw the legend item.
- (void)drawLegendItem:(XuniRenderEngine *)engine rect:(XuniRect *)rect i:(NSInteger)i name:(NSString *)name
Parameters
engine |
the render engine. |
---|---|
rect |
the rectangle of the legend item. |
i |
the index of the legend item. |
name |
the name of the legend item. |
Discussion
Draw the legend item.
Declared In
FlexPie.h
– getDescriptor:
Get a descriptor.
- (UIFontDescriptor *)getDescriptor:(NSMutableDictionary *)attributes
Parameters
attributes |
the attributes. |
---|
Return Value
a descriptor.
Discussion
Get a descriptor.
Declared In
FlexPie.h
– setSelectedDataPointAndSelectionChanged
Set selected dataPoint and selection changed.
- (void)setSelectedDataPointAndSelectionChanged
Discussion
Set selected dataPoint and selection changed.
Declared In
FlexPie.h
– prepareForSelectAnimation:
Prepare for select animation.
- (void)prepareForSelectAnimation:(double)targetAngle
Discussion
Prepare for select animation.
Declared In
FlexPie.h
– setTootipPoint
Set tootip point.
- (void)setTootipPoint
Discussion
Set tootip point.
Declared In
FlexPie.h