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 HeaderProperty
(Defined in: jpgraph_gantt.php : 1708)Class usage and Overview Data encapsulating class to hold properties for each type of the scale headers of the Gantt chart.
It is instantiated in (and accessible through)
$ganttgraph->scale->min
$ganttgraph->scale->hour
$ganttgraph->scale->day
$ganttgraph->scale->week
$ganttgraph->scale->month
$ganttgraph->scale->year
You use the methods on these object to specify how you want the scale to be displayed. For example specifying if the week view will show start date or week number.
Class Methods
Description Specify background color in scale Example
Description Specify font for scale Example
Description Specify font (text) color Example
Description Specify printf() style format string for scales
Description Set color of frame around scale Example
Description Specify width of frame around scale Example
Description Set scale interval. The exact behaviour depends on if this is evoked on a day, hour or minute scale.
For example if the scale is an hour scale then SetIntervall() will give number of hours between each scale interball. Example $graph->scale->minute->SetIntervall(30); $graph->scale->minute->SetBackgroundColor('lightyellow:1.5'); $graph->scale->minute->SetFont(FF_FONT0); $graph->scale->minute->SetStyle(MINUTESTYLE_MM); $graph->scale->minute->grid->SetColor('lightgray');
Description Specify format string for use in scale. Example
Description Specifies how the week, month, day, hour and minute scale should appear. For year scale this method has no meaning.
For week scale:
Example
Description Only used by day scale. Specify font color for sunday. The default is toi display Sundays in red color as per convention. See also GanttScale::UseWeekendBackground
Example
Description Specify margin above and below text in scale Example
Description Specify the background color for weekends.
Tip: If you want the weekend background color to continue down the gantt chart theh use the GanttScale::UseWeekendBackground() method.
See also HeaderProperty::SetSundayFontColor and GanttScale::UseWeekendBackground
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.0067 ]-- |