mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +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:
@@ -17,11 +17,10 @@ class scatter_value
|
||||
|
||||
class scatter
|
||||
{
|
||||
function scatter( $colour, $dot_size )
|
||||
function scatter( $colour )
|
||||
{
|
||||
$this->type = "scatter";
|
||||
$this->set_colour( $colour );
|
||||
$this->set_dot_size( $dot_size );
|
||||
}
|
||||
|
||||
function set_colour( $colour )
|
||||
@@ -29,12 +28,18 @@ class scatter
|
||||
$this->colour = $colour;
|
||||
}
|
||||
|
||||
function set_dot_size( $dot_size )
|
||||
function set_default_dot_style( $style )
|
||||
{
|
||||
$tmp = 'dot-size';
|
||||
$this->$tmp = $dot_size;
|
||||
$tmp = 'dot-style';
|
||||
$this->$tmp = $style;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $v as array, can contain any combination of:
|
||||
* - integer, Y position of the point
|
||||
* - any class that inherits from scatter_value
|
||||
* - <b>null</b>
|
||||
*/
|
||||
function set_values( $values )
|
||||
{
|
||||
$this->values = $values;
|
||||
|
||||
Reference in New Issue
Block a user