drupal-civicrm/sites/all/modules/civicrm/packages/OpenFlashChart/php-ofc-library/ofc_bar.php

35 lines
464 B
PHP
Raw Normal View History

2018-01-14 15:10:16 +02:00
<?php
include_once 'ofc_bar_base.php';
class bar_value
{
function __construct( $top, $bottom=null )
{
$this->top = $top;
if( isset( $bottom ) )
$this->bottom = $bottom;
}
function set_colour( $colour )
{
$this->colour = $colour;
}
function set_tooltip( $tip )
{
$this->tip = $tip;
}
}
class bar extends bar_base
{
function __construct()
{
$this->type = "bar";
parent::__construct();
}
}