The "grid" is used to make values (positions) inside the graph easier to read by using horizontal/vertical lines and/or filled areas as the graph background. It's possible to draw the grid at the major or minor ticks. Using two or more alternating colors/fills for the grid is an "impressive" and useful feature for the generated graphs. All fill-elements (derived from Image_Graph_Fill_Common) can be used. In most cases you will want to choose a solid fills with a certain color. However it might be useful to e.g. use some pattern fills (stripes, dots, ...) which will make reading possible even if you print it out in black/white. Since the normal fill-elements are used, you can also use alpha-values for the colors. This way it's still possible to see the graph background through the fill. Note that you shouldn't use too many different colors/fills since this can have a negative and disturbing effect on the readability of the graph.
Image_Graph_Grid
Image_Graph_Grid Inherited Methods
Table 33-1. 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 |