Image_Graph

Table of Contents
Class Summary Image_Graph -- Main class for Graph generation
constructor Image_Graph::Image_Graph() -- Constructor for the class
Image_Graph::addData() -- Add new data to the graph
Image_Graph::getGDImage() -- Create a GD-image-resource for the graph
Image_Graph::setAxesColor() -- Set color of axes
Image_Graph::setBackgroundColor() -- Sets background color of canvas
Image_Graph::setDataDefaultColor() -- Set default color for new data; used by addData()
Image_Graph::setDefaultFontOptions() -- Set default options for fonts
Image_Graph::setSpaceFromBorder() -- Sets space of graph from each border (of the whole image)
Image_Graph::stackData() -- Set option that data should be stacked
Class Summary Image_Graph_Axis -- Class for storing axis settings
constructor Image_Graph_Axis::Image_Graph_Axis() -- Constructor
Image_Graph_Axis::setBounds() -- Set bounds
Image_Graph_Axis::setNumbercolor() -- Set color for numbers on the axis
Image_Graph_Axis::setNumberformat() -- Set numberformat for axis
Image_Graph_Axis::setTicksAutoSteps() -- Set maximum steps for automatic creation of ticksMajor/ticksMinor
Image_Graph_Axis::setTickSize() -- Set size for (major) ticks on axis
Image_Graph_Axis::setTicksMajor() -- Set major ticks on axis
Image_Graph_Axis::setTicksMinor() -- Set minor ticks on axis
Image_Graph_Axis::setTickStyle() -- Set tick-style for ticks on a axis
Class Summary Image_Graph_Axis_Values -- Class for handling textual and numerical values on the axes
constructor Image_Graph_Axis_Values::Image_Graph_Axis_Values() -- Constructor
Image_Graph_Axis_Values::setNumberformat() -- Set numberformat for numerical values on the axis
Image_Graph_Axis_Values::setText() -- Set text-labels on axis
Class Summary Image_Graph_Axis_X -- Class for storing x-axis settings
constructor Image_Graph_Axis_X::Image_Graph_Axis_X() -- Constructor
Image_Graph_Axis_X::setAxistype() -- Set type of axis
Image_Graph_Axis_X::setLabels() -- Set labels for data on this axis
Image_Graph_Axis_X::valueToPixelAbsolute() -- Calculate absolute position for a value on the axis
Image_Graph_Axis_X::valueToPixelRelative() -- Calculate relative position for a value on the axis
Class Summary Image_Graph_Axis_Y -- Class for storing x-axis settings
constructor Image_Graph_Axis_Y::Image_Graph_Axis_Y() -- Constructor
Image_Graph_Axis_Y::setAxistype() -- Set type of axis
Image_Graph_Axis_Y::valueToPixelAbsolute() -- Calculate absolute position for a value on the axis
Image_Graph_Axis_Y::valueToPixelRelative() -- Calculate relative position for a value on the axis
Class Summary Image_Graph_Base -- Base class for data-storage in common objects
Image_Graph_Base::setColor() -- Set color
Image_Graph_Base::setFontOptions() -- Set options for fonts
Image_Graph_Base::setSpacer() -- Set spacer
Image_Graph_Base::setText() -- Set text
Class Summary Image_Graph_Color -- Class for color-handling
Image_Graph_Color::allocateColor() -- Allocates a color in the given image.
Image_Graph_Color::color2RGB() -- Convert any color-representation into an array of 4 ints (RGBA).
Image_Graph_Color::getRange() -- getRange Given a degree, you can get the range of colors between one color and another color.
Class Summary Image_Graph_DataMarker_Common -- Base class for a datamarker-element (e.g. "diamond", "square" or "triangle")
constructor Image_Graph_DataMarker_Common::Image_Graph_DataMarker_Common() -- Constructor
Image_Graph_DataMarker_Common::setColor() -- Set color
Image_Graph_DataMarker_Common::setSize() -- Set size
Class Summary Image_Graph_DataMarker_Diamond -- Diamond datamarker-element
constructor Image_Graph_DataMarker_Diamond::Image_Graph_DataMarker_Diamond() -- Constructor
Image_Graph_DataMarker_Diamond::drawGD() -- Draws diagram element
Class Summary Image_Graph_DataMarker_Square -- Square datamarker-element
constructor Image_Graph_DataMarker_Square::Image_Graph_DataMarker_Square() -- Constructor
Image_Graph_DataMarker_Square::drawGD() -- Draws diagram element
Class Summary Image_Graph_Data_Bar -- Bar data-element
constructor Image_Graph_Data_Bar::Image_Graph_Data_Bar() -- Constructor
Image_Graph_Data_Bar::drawGD() -- Draws the data element, using GD-output
Image_Graph_Data_Bar::stackingPrepare() -- Prepare given dataElements of this type for stacking
Class Summary Image_Graph_Data_Common -- Base class for a data-element (e.g. "line" or "bar")
constructor Image_Graph_Data_Common::Image_Graph_Data_Common() -- Constructor
Image_Graph_Data_Common::drawGD() -- Draws diagram element
Image_Graph_Data_Common::setColor() -- Set color
Image_Graph_Data_Common::setDataMarker() -- Set a data marker to be used
Image_Graph_Data_Common::setFill() -- Set a fill element to be used
Image_Graph_Data_Common::stackingDrawGD() -- Draw all diagram elements in this stacking-group
Class Summary Image_Graph_Data_Line -- Line data-element
constructor Image_Graph_Data_Line::Image_Graph_Data_Line() -- Constructor
Image_Graph_Data_Line::drawGD() -- Draws diagram element
Image_Graph_Data_Line::stackingDrawGD() -- Draw all diagram elements in this stacking-group
Image_Graph_Data_Line::stackingPrepare() -- Prepare given dataElements of this type for stacking
Class Summary Image_Graph_Fill_Common -- Base class for a fill-element (e.g. a "solid" fill or a "gradient" fill)
constructor Image_Graph_Fill_Common::Image_Graph_Fill_Common() -- Constructor
Image_Graph_Fill_Common::drawGDBox() -- Draws fill element, shape: box
Image_Graph_Fill_Common::drawGDPolygon() -- Draws fill element, shape: polygon
Image_Graph_Fill_Common::setColor() -- Set color
Class Summary Image_Graph_Fill_Gradient -- Gradient fill-element
constructor Image_Graph_Fill_Gradient::Image_Graph_Fill_Gradient() -- Constructor
Image_Graph_Fill_Gradient::drawGDBox() -- Draws fill element, shape: box
Image_Graph_Fill_Gradient::drawGDPolygon() -- Draws fill element, shape: polygon
Image_Graph_Fill_Gradient::setColor() -- Set color
Class Summary Image_Graph_Fill_Solid -- Solid fill-element
constructor Image_Graph_Fill_Solid::Image_Graph_Fill_Solid() -- Constructor
Image_Graph_Fill_Solid::drawGDBox() -- Draws fill element, shape: box
Class Summary Image_Graph_Grid -- Class for storing grid-element settings
constructor Image_Graph_Grid::Image_Graph_Grid() -- Constructor
Image_Graph_Grid::setFill() -- Set fill elements to be used
Image_Graph_Grid::setFillType() -- Set type of grid-fill
Image_Graph_Grid::setLineType() -- Set type of grid-lines
Class Summary Image_Graph_Title -- Class for storing a title
constructor Image_Graph_Title::Image_Graph_Title() -- Constructor
Image_Graph_Title::setColor() -- Set color
Package Image_Graph Constants -- Constants defined in and used by Image_Graph