mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 21:34:12 +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]
45 lines
670 B
PHP
45 lines
670 B
PHP
<?php
|
|
|
|
/**
|
|
* x_axis_label see x_axis_labels
|
|
*/
|
|
class x_axis_label
|
|
{
|
|
function x_axis_label( $text, $colour, $size, $rotate )
|
|
{
|
|
$this->set_text( $text );
|
|
$this->set_colour( $colour );
|
|
$this->set_size( $size );
|
|
$this->set_rotate( $rotate );
|
|
}
|
|
|
|
function set_text( $text )
|
|
{
|
|
$this->text = $text;
|
|
}
|
|
|
|
function set_colour( $colour )
|
|
{
|
|
$this->colour = $colour;
|
|
}
|
|
|
|
function set_size( $size )
|
|
{
|
|
$this->size = $size;
|
|
}
|
|
|
|
function set_rotate( $rotate )
|
|
{
|
|
$this->rotate = $rotate;
|
|
}
|
|
|
|
function set_vertical()
|
|
{
|
|
$this->rotate = "vertical";
|
|
}
|
|
|
|
function set_visible()
|
|
{
|
|
$this->visible = true;
|
|
}
|
|
} |