- 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:
Denis Flaven
2010-06-08 13:12:17 +00:00
parent 4d3fbf1f79
commit fd8b3c835e
28 changed files with 1944 additions and 1142 deletions

View File

@@ -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;