First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
|
@ -0,0 +1,52 @@
|
|||
<?php
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Cache-Control: no-cache");
|
||||
header("Pragma: no-cache");
|
||||
/**
|
||||
* Set the title of a chart, make one of these and pass it into
|
||||
* open_flash_chart set_title
|
||||
*/
|
||||
class inner_bg_grad
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
$this->alpha = array(1,1);
|
||||
$this->ratio = array(0,255);
|
||||
$this->angle = 90;
|
||||
$this->fillType = 'linear';
|
||||
}
|
||||
|
||||
function set_fillType( $text='linear' )
|
||||
{
|
||||
$this->fillType = $text;
|
||||
}
|
||||
|
||||
function set_colour1( $text='' )
|
||||
{
|
||||
$this->colour1 = $text;
|
||||
}
|
||||
|
||||
function set_colour2( $text='' )
|
||||
{
|
||||
$this->colour2 = $text;
|
||||
}
|
||||
|
||||
function set_alpha( $text=array(1,1) )
|
||||
{
|
||||
$this->alpha = $text;
|
||||
}
|
||||
|
||||
function set_ratio( $text=array(0,255) )
|
||||
{
|
||||
$this->ratio = $text;
|
||||
}
|
||||
|
||||
function set_angle( $text='0' )
|
||||
{
|
||||
$this->angle = $text;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue