CFXAxisSection Class Reference

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

Overview

The Axis Section implementation is another analytical feature embedded into Chart FX for iOS . Utilizing this object in your charting applications allows end users to quickly identify focus areas of a chart and determine whether values fall into this range. This enhancement makes data driven charts more pleasing to the eye and easily deciphered by users.

The from property is used to specify the beginning value of the section range for a selected AxisSection object. The to property is used to specify the ending value of the section range for a selected AxisSection object.

The fontStyle property is used to configure additional font attributes for the selected axis section.

In order to use this functionality you must include jchartfx.advanced.js in your project.

Properties

from

Gets or sets a value indicating the beginning value of the range for a selected CFXAxisSection object.

@property(nonatomic) double from
Discussion

The to property is used to specify the ending value of the section range for a selected CFXAxisSection object.

The CFXAxisSectionBase class members are used to customize the mayor gridlines, minor gridlines, TextColor, and Link for an AxisSection object.

The fontStyle property is used to configure additional font attributes for the selected axis section.

The sections property returns the AxisSection object which may be configured using the AxisSection and AxisSectionBase class members.

Declared In
ChartFX.h

grids

Allows customization of grid lines by providing access to the supported members of the Grids class.

@property(nonatomic) CFXGrids grids
Discussion

This property provides customization of the chart Plot Area, by using the interlaced and interlacedColor properties of the Grids class.

Lines across the Axes can be added at the major and minor steps by setting major and minor Gridlines.

Lines across the Axes can be added at specific points by adding a CFXCustomGridLine.

Declared In
ChartFX.h

text

Gets or sets the text string for a selected BaseAxisSection object.

@property(nonatomic) NSString *text
Discussion

This should be used if you would like to label the sections you create for clarity.

This title appears as a tooltip for the user.

When text is assigned to a section, this will appear by default in the legend box. It can be removed, if desired, using the ItemAttributes property of the LegendBox object.

Declared In
ChartFX.h

to

Gets or sets a value indicating the ending value of the range for a selected CFXAxisSection object.

@property(nonatomic) double to
Discussion

The from property is used to specify the beginning value of the section range for a selected CFXAxisSection object.

The CFXAxisSectionBase class members are used to customize the mayor gridlines, minor gridlines, textColor and Link for a AxisSection object.

The fontStyle property is used to configure additional font attributes for the selected axis section.

The sections property returns the AxisSection object which may be configured using the AxisSection and AxisSectionBase class members.

Declared In
ChartFX.h

visible

Shows or hides the selected axis section.

@property(nonatomic) BOOL visible
Discussion

Hiding the axis section does not destroy or lose previous settings assigned by other properties.

Declared In
ChartFX.h