CFXGrids Class Reference
Inherits from | |
Conforms to | |
Framework | |
Availability |
Available in iOS 5.0 and later.
|
Companion guide | |
Declared in |
ChartFX.h
|
Overview
Provides access to the Grids class members.
The Grids class allows customization of the chart Plot Area, setting colors and alternate colors, mayor and minor gridlines, tickmarcks, custom gridlines, etc.
Properties
interlaced
Creates a grid of alternating colors for a selected axis to improve chart readability.
Discussion
When you set this property to YES, a grid with alternating colors is created for the selected axis. This visual attribute helps the end user distinguish the different value ranges in the chart and easily recognize the value of a particular point.
Use the interlacedColor and the chart's plotAreaColor properties to set the Interlaced colors.
If you use this property for both the X and Y axes, the results show overlapping interlaced grids.
Declared In
ChartFX.h
interlacedColor
Gets or sets the AlternateColor for a selected Grids object.
Discussion
The AlternateColor is used when the selected axis is configured as interlaced. The other color is defined by the configured plotAreaColor.
For more information regarding the Color type, please refer to the Xcode and Objective-C Documentation.
Declared In
ChartFX.h
major
Provides access to the GridLine class to customize the Mayor Grid.
Discussion
The Major interval is controlled by the Axis step property.
Major Gridlines are visible by default.
Please see the CFXGridLine class for the supported members exposed by this method.
Declared In
ChartFX.h
minor
Provides access to the GridLine class to customize the Minor Grid.
Discussion
The minor interval is controlled by the minorStep property, which must be set in order to use the Minor Grid.
Please see the CFXGridLine class for the supported members exposed by this property.
Declared In
ChartFX.h