mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-26 13:44:19 +01:00
- 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]
49 lines
790 B
PHP
49 lines
790 B
PHP
<?php
|
|
|
|
class scatter_line
|
|
{
|
|
function scatter_line( $colour, $width )
|
|
{
|
|
$this->type = "scatter_line";
|
|
$this->set_colour( $colour );
|
|
$this->set_width( $width );
|
|
}
|
|
|
|
function set_default_dot_style( $style )
|
|
{
|
|
$tmp = 'dot-style';
|
|
$this->$tmp = $style;
|
|
}
|
|
|
|
function set_colour( $colour )
|
|
{
|
|
$this->colour = $colour;
|
|
}
|
|
|
|
function set_width( $width )
|
|
{
|
|
$this->width = $width;
|
|
}
|
|
|
|
function set_values( $values )
|
|
{
|
|
$this->values = $values;
|
|
}
|
|
|
|
function set_step_horizontal()
|
|
{
|
|
$this->stepgraph = 'horizontal';
|
|
}
|
|
|
|
function set_step_vertical()
|
|
{
|
|
$this->stepgraph = 'vertical';
|
|
}
|
|
|
|
function set_key( $text, $font_size )
|
|
{
|
|
$this->text = $text;
|
|
$tmp = 'font-size';
|
|
$this->$tmp = $font_size;
|
|
}
|
|
} |