mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 22:18:46 +02:00
Moved under "trunk" to be able to track releases under "tags"
SVN:trunk[55]
This commit is contained in:
42
pages/php-ofc-library/ofc_x_axis_label.php
Normal file
42
pages/php-ofc-library/ofc_x_axis_label.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user