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_22222/jpgraph/docs/ref/ drwxr-xr-x |
Viewing file: Select action/file-type: CLASS BarPlot EXTENDS Plot
(Defined in: jpgraph_bar.php : 31)Class usage and Overview Concrete class which implements the standard vertical bar plot functionality.To show horizontal plots you can rotate the graph 90 degrees by $graph->Angle(90);
See also related classes: AccBarPlot and GroupBarPlot
Class Methods
Description Create a new bar plot Example
Description Specify width in absolute pixels. If specified this overrides any calls to SetWidth() See also BarPlot::SetWidth
Example
Description Bars can be aligned when using a text scale. Valid arguments for align are 'left', 'center' and 'right'.
Default is to center the bars. Example // ... $barplot = new BarPlot($ydata,$xdata); $barplot->SetAlign("center"); // ...
Description Set fill color for the bars. The color for the frame around the bar is specified with BarPlot::SetColor() method.
By specifying an array as argument you can assign individual colors to each of the bars. If there are more bars than colors the colros will wrap around.
See also Plot::SetColor
Example $barplot->SetFillColor('#E234A9'); // The bars will haev individual colors $barplot->SetFillColor(array('red','blue','green'));
Description Gradient fill provides a smooth transition from the 'start' color to the 'end' color. The type of gradient fill can be
You should also be observant that gradient fills makes use of more CPU time than solid fills.
See also Graph::StrokeBackgroundGrad
Example
Description Bar plots are filled by default. Calling this method disable the fill of barplots.
This is usefull when you have a background in the image that you want to be shown underneth the bars. See also BarPlot::SetFillColor
Example
Description Add one of the line patterns as fill effect to the bar. Available patterns are:
Example
Description Set a drop shadow for the bar (or rather an "up-right" shadow) Example
Description Specify position for the values on the bar. Teh position can either be
Example $barplot->SetValuePos('center');
Description Specify width as fractions of the major step size. See also BarPlot::SetAbsWidth
Example
Description Specify the start plot for bars, (minimum Y-value). By default the base uses the value 0 as base. Example
Description DEPRECATED use SetYBase() instead Example
Description No description available.
|
:: 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.0065 ]-- |