mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 22:18:46 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user