- 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

@@ -4,12 +4,12 @@ class line_base
{
function line_base()
{
$this->type = "line_dot";
$this->type = "line";
$this->text = "Page views";
$tmp = 'font-size';
$this->$tmp = 10;
$this->values = array(9,6,7,9,5,7,6,9,7);
$this->values = array();
}
function set_values( $v )
@@ -17,6 +17,16 @@ class line_base
$this->values = $v;
}
/**
* Append a value to the line.
*
* @param mixed $v
*/
function append_value($v)
{
$this->values[] = $v;
}
function set_width( $width )
{
$this->width = $width;
@@ -67,4 +77,16 @@ class line_base
$tmp = "line-style";
$this->$tmp = $s;
}
/**
* Sets the text for the line.
*
* @param string $text
*/
function set_text($text)
{
$this->text = $text;
}
}