FlexPieDataLabelRenderer Class Reference

Inherits from NSObject
Declared in FlexPieDataLabelRenderer.h

Overview

Class FlexPieDataLabelRenderer.

– init:label:

Initialize an object for DefaultFlexPieDataLabelRenderer.

- (id)init:(FlexPie *)pie label:(FlexPieDataLabel *)label

Parameters

pie

the pie.

label

the label.

Return Value

an object for DefaultFlexPieDataLabelRenderer.

Discussion

Initialize an object for DefaultFlexPieDataLabelRenderer.

Declared In

FlexPieDataLabelRenderer.h

– render:rect:index:value:values:

Render datalabel.

- (void)render:(NSString *)seriesName rect:(XuniRect *)rect index:(NSInteger)index value:(double)value values:(NSArray *)values

Parameters

seriesName

the series name.

rect

the rect.

index

the index.

value

the value.

values

the values.

Discussion

Render datalabel.

Declared In

FlexPieDataLabelRenderer.h

– getLabelSize:index:value:values:

Get xamarin’s data label’s Size.

- (XuniSize *)getLabelSize:(NSString *)seriesName index:(NSInteger)index value:(double)value values:(NSArray *)values

Parameters

seriesName

the series name.

index

the index.

value

the value.

values

the values.

Return Value

the size.

Discussion

Get xamarin’s data label’s Size.

Declared In

FlexPieDataLabelRenderer.h

– clearXamarinDataLabelIfUpdated

Clear xamarin’s data labels if itemsource is updated.

- (void)clearXamarinDataLabelIfUpdated

Discussion

Clear xamarin’s data labels if itemsource is updated.

Declared In

FlexPieDataLabelRenderer.h

– dataLabelDimension:index:value:

Calculate the data label width.

- (double)dataLabelDimension:(NSString *)seriesName index:(NSInteger)index value:(double)value

Parameters

seriesName

the series name.

index

the index.

value

the value.

Return Value

the width.

Discussion

Calculate the data label width.

Declared In

FlexPieDataLabelRenderer.h