Image_Graph
[ class tree: Image_Graph ] [ index: Image_Graph ] [ all elements ]

Class: Image_Graph_Axis_Radar

Source Location: /Image_Graph-0.8.0/Graph/Axis/Radar.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Plotarea_Element
         |
         --Image_Graph_Axis
            |
            --Image_Graph_Axis_Category
               |
               --Image_Graph_Axis_Radar

Displays an 'X'-axis in a radar plot chart.


Author(s):

Version:

  • Release: 0.8.0

Copyright:

  • 2003-2009 The PHP Group

Methods


Inherited Variables

Inherited Methods

Class: Image_Graph_Axis_Category

Image_Graph_Axis_Category::Image_Graph_Axis_Category()
Image_Graph_Axis_Category [Constructor].
Image_Graph_Axis_Category::forceMaximum()
Forces the maximum value of the axis
Image_Graph_Axis_Category::forceMinimum()
Forces the minimum value of the axis
Image_Graph_Axis_Category::setLabelInterval()
Sets an interval for where labels are shown on the axis.

Class: Image_Graph_Axis

Image_Graph_Axis::Image_Graph_Axis()
Image_Graph_Axis [Constructor].
Image_Graph_Axis::addMark()
Adds a mark to the axis at the specified value
Image_Graph_Axis::forceMaximum()
Forces the maximum value of the axis
Image_Graph_Axis::forceMinimum()
Forces the minimum value of the axis
Image_Graph_Axis::hideArrow()
Do not show an arrow head on the 'end' of the axis (default)
Image_Graph_Axis::setAxisIntersection()
Set axis intersection.
Image_Graph_Axis::setDataPreProcessor()
Sets a data preprocessor for formatting the axis labels
Image_Graph_Axis::setFixedSize()
Sets a fixed "size" for the axis.
Image_Graph_Axis::setInverted()
Invert the axis direction
Image_Graph_Axis::setLabelInterval()
Sets an interval for when labels are shown on the axis.
Image_Graph_Axis::setLabelOption()
Sets options for the label at a specific level.
Image_Graph_Axis::setLabelOptions()
Sets options for the label at a specific level.
Image_Graph_Axis::setTickOptions()
Set the major tick appearance.
Image_Graph_Axis::setTitle()
Sets the title of this axis.
Image_Graph_Axis::showArrow()
Show an arrow head on the 'end' of the axis
Image_Graph_Axis::showLabel()
Shows a label for the the specified values.

Class: Image_Graph_Element

Image_Graph_Element::height()
The height of the element on the canvas
Image_Graph_Element::setBackground()
Sets the background fill style of the element
Image_Graph_Element::setBackgroundColor()
Sets the background color of the element.
Image_Graph_Element::setBorderColor()
Sets the border color of the element.
Image_Graph_Element::setBorderStyle()
Sets the border line style of the element
Image_Graph_Element::setFillColor()
Sets the fill color of the element.
Image_Graph_Element::setFillStyle()
Sets the fill style of the element
Image_Graph_Element::setFont()
Sets the font of the element
Image_Graph_Element::setFontAngle()
Sets the font angle
Image_Graph_Element::setFontColor()
Sets the font color
Image_Graph_Element::setFontSize()
Sets the font size
Image_Graph_Element::setLineColor()
Sets the line color of the element.
Image_Graph_Element::setLineStyle()
Sets the line style of the element
Image_Graph_Element::setPadding()
Sets padding of the element
Image_Graph_Element::showShadow()
Shows shadow on the element
Image_Graph_Element::width()
The width of the element on the canvas
Image_Graph_Element::write()
Writes text to the canvas.
Image_Graph_Element::_clip()
Clip the canvas to the coordinates of the element

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Constructor [Image_Graph_Common]
Image_Graph_Common::add()
Adds an element to the objects element list.
Image_Graph_Common::addNew()
Creates an object from the class and adds it to the objects element list.
Image_Graph_Common::hide()
Hide the element

Class Details

[line 55]
Displays an 'X'-axis in a radar plot chart.

This axis maps the number of elements in the dataset to a angle (from 0- 360 degrees). Displaying the axis consist of drawing a number of lines from center to the edge of the 'circle' than encloses the radar plot. The labels are drawn on the 'ends' of these radial lines.



[ Top ]


Method Detail

setDistanceFromEnd   [line 142]

void setDistanceFromEnd( [int $distance = 5])

Sets the distance from the end of the category lines to the label.

Parameters:

int   $distance   —  The distance in pixels

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.