CLASS 
GraphTabTitle EXTENDS 
Text 
(Defined in: jpgraph.php : 3027) Class usage and Overview
Represents the tab that can be placed on top of the graph   
Class Methods
  
   
function Set($t)
Specify text string for tabbed title
| Argument | Default | Description | 
| 
$t
 |   | Text | 
Description
Specify text string for tabbed title 
$graph->tabtitle->Set('First Quarter');
  
   
function SetColor($aTxtColor,$aFillColor,$aBorderColor)
Specify color for tab
| Argument | Default | Description | 
| 
$aTxtColor
 |   | Text color | 
| 
$aFillColor
 | 
'lightyellow'
 | Background fill color | 
| 
$aBorderColor
 | 
'black'
 | Border color | 
Description
Specify all the possible colors for the tab 
$graph->tabtitle->SetColor('navy','lightyellow','navy');
  
   
function SetCorner($aD)
Specify size (in pixels) of the cut in the upper left and right corner
| Argument | Default | Description | 
| 
$aD
 |   | Cut in pixels | 
Description
Specify size (in pixels) of the cut in the upper left and right corner 
$graph->tabtitle->SetCorner(8);
  
   
function SetFillColor($aFillColor)
Specify background color for tab title
| Argument | Default | Description | 
| 
$aFillColor
 |   | Fill color | 
Description
Specify background color for tab title 
$graph->tabtitle->SetFillColor('darkgreen');
  
   
function SetPos($aAlign)
Specify position for tab title
| Argument | Default | Description | 
| 
$aAlign
 |   | 'left', 'center' or 'right' alignment | 
Description
Specify position for tab title, left, rigth or center. 
$graph->tabtitle->SetPos('center');
  
   
function SetTabAlign($aAlign)
Specify position of the tab
| Argument | Default | Description | 
| 
$aAlign
 |   | Left right or center position | 
Description
Teh tab can be positioned at the left edge on top of the plot area, center or at the right. 
$graph->tabtitle->SetTabAlign('right');
  
   
function SetWidth($aWidth)
Specify width for tab title
| Argument | Default | Description | 
| 
$aWidth
 |   | Width of tab (see below) | 
Description
The width of the tab title can be specified in either absolute pixels or as the two special values 'TABTITLE_WIDTHFIT' and  'TABTITLE_WIDTHFULL'.
The TABTITLE_WIDTHFIT will make the tab just wide enough to hold the text in the tab and the TABTITLE_WIDTHFULL will extend the tab across the entire plot area.
By default the tab will be formatted as it had been specified as TABTITLE_WIDTHFIT
 
// Specify the tab title width in absolute pixels
$graph->tabtitle->SetWidth(120);