mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +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:
@@ -1,5 +1,9 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Set the title of a chart, make one of these and pass it into
|
||||
* open_flash_chart set_title
|
||||
*/
|
||||
class title
|
||||
{
|
||||
function title( $text='' )
|
||||
@@ -7,6 +11,26 @@ class title
|
||||
$this->text = $text;
|
||||
}
|
||||
|
||||
/**
|
||||
* A css string. Can optionally contain:
|
||||
* - font-size
|
||||
* - font-family
|
||||
* - font-weight
|
||||
* - color
|
||||
* - background-color
|
||||
* - text-align
|
||||
* - margin
|
||||
* - margin-left
|
||||
* - margin-right
|
||||
* - margin-top
|
||||
* - margin-bottom
|
||||
* - padding
|
||||
* - padding-left
|
||||
* - padding-right
|
||||
* - padding-top
|
||||
* - padding-bottom
|
||||
* just like the css we use all the time :-)
|
||||
*/
|
||||
function set_style( $css )
|
||||
{
|
||||
$this->style = $css;
|
||||
|
||||
Reference in New Issue
Block a user