mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
- Upgraded to the latest version of Open Flash Charts (Version 2 Lug Wyrm Charmer)
- Localization of the menus 90% done. - Removed the old types of Flash charts, (no longer used anyway, now we rely on open-flash-charts) SVN:trunk[441]
This commit is contained in:
@@ -1,64 +1,38 @@
|
||||
<?php
|
||||
|
||||
class area_base
|
||||
/**
|
||||
* inherits from line
|
||||
*/
|
||||
class area extends line
|
||||
{
|
||||
function area_base()
|
||||
function area()
|
||||
{
|
||||
$tmp = 'fill-alpha';
|
||||
$this->$tmp = 0.35;
|
||||
$this->values = array();
|
||||
}
|
||||
|
||||
function set_width( $w )
|
||||
{
|
||||
$this->width = $w;
|
||||
}
|
||||
|
||||
function set_colour( $colour )
|
||||
{
|
||||
$this->colour = $colour;
|
||||
$this->type = "area";
|
||||
}
|
||||
|
||||
/**
|
||||
* the fill colour
|
||||
*/
|
||||
function set_fill_colour( $colour )
|
||||
{
|
||||
$this->fill = $colour;
|
||||
}
|
||||
|
||||
/**
|
||||
* sugar: see set_fill_colour
|
||||
*/
|
||||
function fill_colour( $colour )
|
||||
{
|
||||
$this->set_fill_colour( $colour );
|
||||
return $this;
|
||||
}
|
||||
|
||||
function set_fill_alpha( $alpha )
|
||||
{
|
||||
$tmp = "fill-alpha";
|
||||
$this->$tmp = $alpha;
|
||||
}
|
||||
|
||||
function set_halo_size( $size )
|
||||
{
|
||||
$tmp = 'halo-size';
|
||||
$this->$tmp = $size;
|
||||
}
|
||||
|
||||
function set_values( $v )
|
||||
{
|
||||
$this->values = $v;
|
||||
}
|
||||
|
||||
function set_dot_size( $size )
|
||||
{
|
||||
$tmp = 'dot-size';
|
||||
$this->$tmp = $size;
|
||||
}
|
||||
|
||||
function set_key( $text, $font_size )
|
||||
{
|
||||
$this->text = $text;
|
||||
$tmp = 'font-size';
|
||||
$this->$tmp = $font_size;
|
||||
}
|
||||
|
||||
function set_tooltip( $tip )
|
||||
{
|
||||
$this->tip = $tip;
|
||||
}
|
||||
|
||||
function set_loop()
|
||||
{
|
||||
$this->loop = true;
|
||||
|
||||
Reference in New Issue
Block a user