/** * Image_Graph_Layout [Constructor] */ function Image_Graph_Layout() { parent::Image_Graph_Element(); $this->_padding = array('left' => 2, 'top' => 2, 'right' => 2, 'bottom' => 2); }
/** * Image_Graph_Layout [Constructor] */ function Image_Graph_Layout() { parent::Image_Graph_Element(); $this->_padding = 2; }
/** * Image_Graph_Axis [Constructor]. * Normally a manual creation should not be necessary, axis are created * automatically by the {@link Image_Graph_Plotarea} constructor unless * explicitly defined otherwise * * @param int $type The type (direction) of the Axis, use IMAGE_GRAPH_AXIS_X * for an X-axis (default, may be omitted) and IMAGE_GRAPH_AXIS_Y for Y- * axis) */ function Image_Graph_Axis($type = IMAGE_GRAPH_AXIS_X) { parent::Image_Graph_Element(); $this->_type = $type; $this->_fillStyle = 'black'; }