mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-02 21:51:08 -05:00
Tom git-svn-id: svn+ssh://jekkos@svn.code.sf.net/p/opensourcepos/code/@24 c3eb156b-1dc0-44e1-88ae-e38439141b53
48 lines
639 B
PHP
48 lines
639 B
PHP
<?php
|
|
|
|
class radar_axis
|
|
{
|
|
function radar_axis( $max )
|
|
{
|
|
$this->set_max( $max );
|
|
}
|
|
|
|
function set_max( $max )
|
|
{
|
|
$this->max = $max;
|
|
}
|
|
|
|
function set_steps( $steps )
|
|
{
|
|
$this->steps = $steps;
|
|
}
|
|
|
|
function set_stroke( $s )
|
|
{
|
|
$this->stroke = $s;
|
|
}
|
|
|
|
function set_colour( $colour )
|
|
{
|
|
$this->colour = $colour;
|
|
}
|
|
|
|
function set_grid_colour( $colour )
|
|
{
|
|
$tmp = 'grid-colour';
|
|
$this->$tmp = $colour;
|
|
}
|
|
|
|
function set_labels( $labels )
|
|
{
|
|
$this->labels = $labels;
|
|
}
|
|
|
|
function set_spoke_labels( $labels )
|
|
{
|
|
$tmp = 'spoke-labels';
|
|
$this->$tmp = $labels;
|
|
}
|
|
}
|
|
|