x_axis Class Reference


Public Member Functions

 x_axis ()
 set_stroke ($stroke)
 stroke ($stroke)
 set_colours ($colour, $grid_colour)
 set_colour ($colour)
 colour ($colour)
 set_tick_height ($height)
 tick_height ($height)
 set_grid_colour ($colour)
 grid_colour ($colour)
 set_offset ($o)
 offset ($o)
 set_steps ($steps)
 steps ($steps)
 set_3d ($val)
 set_labels ($x_axis_labels)
 set_labels_from_array ($a)
 set_range ($min, $max)

Member Function Documentation

colour ( colour  ) 

grid_colour ( colour  ) 

offset ( o  ) 

set_3d ( val  ) 

Parameters:
$val as an integer, the height in pixels of the 3D bar. Mostly used for the 3D bar chart.

set_colour ( colour  ) 

Parameters:
$colour as string HEX colour

set_colours ( colour,
grid_colour 
)

Parameters:
$colour as string HEX colour
$grid_colour as string HEX colour

set_grid_colour ( colour  ) 

set_labels ( x_axis_labels  ) 

Parameters:
$x_axis_labels as an x_axis_labels object Use this to customize the labels (colour, font, etc...)

set_labels_from_array ( a  ) 

Sugar syntax: helper function to make the examples simpler.

Parameters:
$a is an array of labels

set_offset ( o  ) 

Parameters:
$o is a boolean. If true, the X axis start half a step in This defaults to True

set_range ( min,
max 
)

min and max.

set_steps ( steps  ) 

Parameters:
$steps as integer. Which grid lines and ticks are visible.

set_stroke ( stroke  ) 

Parameters:
$stroke as integer, with of the line and ticks

set_tick_height ( height  ) 

steps ( steps  ) 

stroke ( stroke  ) 

tick_height ( height  ) 

x_axis (  ) 


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

Generated on Thu May 21 23:00:48 2009 for open-flash-chart by  doxygen 1.5.8