<?php

class line_base
{
	function line_base()
	{
		$this->type      = "line_dot";
		$this->text      = "Page views";
		$tmp = 'font-size';
		$this->$tmp = 10;
		
		$this->values    = array(9,6,7,9,5,7,6,9,7);
	}
	
	function set_values( $v )
	{
		$this->values = $v;		
	}
	
	function set_width( $width )
	{
		$this->width = $width;		
	}
	
	function set_colour( $colour )
	{
		$this->colour = $colour;
	}
	
	function set_dot_size( $size )
	{
		$tmp = 'dot-size';
		$this->$tmp = $size;		
	}
	
	function set_halo_size( $size )
	{
		$tmp = 'halo-size';
		$this->$tmp = $size;		
	}
	
	function set_key( $text, $font_size )
	{
		$this->text      = $text;
		$tmp = 'font-size';
		$this->$tmp = $font_size;
	}
}