line Class Reference

Inherited by area.


Public Member Functions

 line ()
 set_default_dot_style ($style)
 set_values ($v)
 append_value ($v)
 set_width ($width)
 set_colour ($colour)
 colour ($colour)
 set_halo_size ($size)
 set_key ($text, $font_size)
 set_tooltip ($tip)
 set_on_click ($text)
 loop ()
 line_style ($s)
 set_text ($text)
 attach_to_right_y_axis ()
 set_on_show ($on_show)
 on_show ($on_show)


Member Function Documentation

append_value ( v  ) 

Append a value to the line.

Parameters:
mixed $v

attach_to_right_y_axis (  ) 

colour ( colour  ) 

sytnatical sugar for set_colour

line (  ) 

line_style ( s  ) 

loop (  ) 

on_show ( on_show  ) 

set_colour ( colour  ) 

set_default_dot_style ( style  ) 

Set the default dot that all the real dots inherit their properties from. If you set the default dot to be red, all values in your chart that do not specify a colour will be red. Same for all the other attributes such as tooltip, on-click, size etc...

Parameters:
$style as any class that inherits base_dot

set_halo_size ( size  ) 

set_key ( text,
font_size 
)

set_on_click ( text  ) 

Parameters:
$text as string. A javascript function name as a string. The chart will try to call this function, it will pass the chart id as the only parameter into this function. E.g:

set_on_show ( on_show  ) 

Parameters:
$on_show as line_on_show object

set_text ( text  ) 

Sets the text for the line.

Parameters:
string $text

set_tooltip ( tip  ) 

set_values ( v  ) 

Parameters:
$v as array, can contain any combination of:
  • integer, Y position of the point
  • any class that inherits from dot_base
  • null

set_width ( width  ) 


The documentation for this class was generated from the following file:

Generated on Tue Jul 28 00:05:19 2009 for open-flash-chart by  doxygen 1.5.8