CFXLineAttributes Class Reference

Inherits from
Conforms to
Framework
Availability
Available in iOS 5.0 and later.
Companion guide
Declared in
ChartFX.h

Overview

The LineAttibutes members allows customization of the lines at the CFXPointAttributes level. The PointAttributes's line property will provide access to the LineAttributes for each particular point of the chart.

Properties

endCap

Gets or sets a marker shape at the end of a PointAttribute's Line.

@property(nonatomic) CFXLineCap endCap
Discussion

The line property of the CFXPointAttributes class is used to return a LineAttributes object.

A starting marker shape may be applied to lines using the startCap property.

Declared In
ChartFX.h

startCap

Gets or sets a marker shape at the start of a PointAttribute's Line.

@property(nonatomic) CFXLineCap startCap
Discussion

The line property of the CFXPointAttributes class is used to return a LineAttributes object.

An ending marker shape may be applied to lines using the endCap property.

Declared In
ChartFX.h

style

Gets or sets the style for a PointAttribute's Line.

@property(nonatomic) CFXDashStyle style
Discussion

The line property of the CFXPointAttributes class is used to return a LineAttributes object.

The endCap and startCap properties allow you to configured various shapes at the beginning and end of a selected line.

The width property gets or sets the width for a PointAttribute's Line.

Declared In
ChartFX.h

width

Gets or sets the width for a PointAttribute's Line.

@property(nonatomic) short int width
Discussion

The line property of the CFXPointAttributes class is used to return a LineAttributes object.

The endCap and startCap properties allow you to configured various shapes at the beginning and end of a selected line.

The style property gets or sets the style for a PointAttribute's Line.

Declared In
ChartFX.h

Constants

CFXDashStyle

Specifies the style with which dashed lines are drawn.

typedef enum {
   CFXCustom,
   CFXDash,
   CFXDashDot,
   CFXDashDotDot,
   CFXDot,
   CFXDashStyleSolid
} CFXDashStyle;
Constants
CFXCustom
Specifies a user-defined custom dash style.
CFXDash
Specifies a line consisting of dashes.
CFXDashDot
Specifies a line consisting of a repeating pattern of dash-dot.
CFXDashDotDot
Specifies a line consisting of a repeating pattern of dash-dot-dot.
CFXDot
Specifies a line consisting of dots.
CFXDashStyleSolid
Specifies a solid line.
Declared In
chartfx.h

CFXLineCap

Specifies the available cap styles with which a line can end.

typedef enum {
   CFXAnchorMask,
   CFXArrowAnchor,
   CFXCustom,
   CFXDiamondAnchor,
   CFXFlat,
   CFXNoAnchor,
   CFXRound,
   CFXRoundAnchor,
   CFXSquare,
   CFXSquareAnchor,
   CFXTriangle
} CFXLineCap;
Constants
CFXAnchorMask
Specifies a mask used to check whether a line cap is an anchor cap.
CFXArrowAnchor
Specifies an arrow-shaped anchor cap.
CFXCustom
Specifies a custom line cap.
CFXDiamondAnchor
Specifies a diamond anchor cap.
CFXFlat
Specifies a flat line cap.
CFXNoAnchor
Specifies no anchor.
CFXRound
Specifies a round line cap.
CFXRoundAnchor
Specifies a round anchor cap.
CFXSquare
Specifies a square line cap.
CFXSquareAnchor
Specifies a square anchor line cap.
CFXTriangle
Specifies a triangular line cap.
Declared In
chartfx.h