ChartLegend

Description

The ChartLegend class is used to work with a chart legend.

Inheritance Hierarchy

          NSObject

          UIResponder

          UIView

          ChartObject

          ChartPlaced

          ChartLegend

Supported Protocols

<UIScrollViewDelegate>

Comments

The legend contains names of all chart series and corresponding color markers.

Properties

contentRotation. Legend contents orientation.

contentSize. Size of legend contents.

font. Legend font.

legendOrientation. Legend position.

legendWidth. Legend area width.

maxHeight. Maximum legend area height.

maximumColumnCount. Maximum number of legend columns.

maxEntriesCount. Maximum number of elements displayed in the legend.

moreContentAboveIndicator. Additional contents over legend indicators.

moreContentBelowIndicator. Additional contents under legend indicators.

orderByColumn. Indicates whether order is by maximum number of columns.

textColor. Legend text color.

Properties inherited from ChartPlaced

autoMargin. Additional external element margins.

autoPadding. Size of additional element paddings.

background. Element background fill options.

borderColor. Color of element borders.

borderRadius. Radius of rounded corners (points).

borderThickness. Element border width (points).

boundsWithPadding. Actual size of element area (without taking into account paddings).

margin. Size of element margins.

optimizedOut. Determines whether element is hidden.

padding. Size of element paddings.

Properties inherited from ChartObject

animations. An array of animation parameters for chart element.

chart. The chart that includes the visual element.

visible. Indicates whether the visual element is visual.

Methods

clearLegend. Clears legend contents.

configureLegendWithDict:andDefaults:. Sets up the legend to the specified parameters.

contentSizeForRect:. Calculates legend size according to the specified rectangle.

fillLegend. Fills legend with chart series names.

Methods inherited from ChartPlaced

findChartPointHit:. Returns series point positioned at the specified coordinate.

setFrameForChartPlaced. Sets frame for a chart object.

Methods inherited from ChartObject

addAnimation:. Adds animation for a chart element.

dumpConfigurationToDict. Returns object to which parameters of visual chart element are loaded.

removeAllAnimations. Removes all animation set for a visual chart element.

removeAnimation:. Removes specified animation parameters for chart element.

See also:

Classes