All axes used in the Graph (1 x-axis and 2 y-axes) have common functionality. This class is used for storage of various settings like the axis-type ("linear" or "text"), the axis-title, "ticks" (minor and major lines) and their layout on the axis, the axis-bounds (min/max-values), a representation for numerical values (string in sprintf-format) and colors. The functionality for actually drawing an axis is (currently) implemented in the main class Image_Graph. All specialized features like mapping of values to relative/absolute pixel-values are done in the derived classes for Axis_X and Axis_Y.
Image_Graph_Axis
Table 33-1. Classes that extend Image_Graph_Axis
Class | Summary |
---|---|
Image_Graph_Axis_X | Class for storing x-axis settings |
Image_Graph_Axis_Y | Class for storing x-axis settings |
Image_Graph_Axis Inherited Methods
Table 33-2. Inherited from Image_Graph_Base
Method Name | Summary |
---|---|
Image_Graph_Base::setColor() | Set color |
Image_Graph_Base::setFontOptions() | Set options for fonts |
Image_Graph_Base::setSpacer() | Set spacer |
Image_Graph_Base::setText() | Set text |