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

Class: Image_Graph_Plot_Smoothed_Bezier

Source Location: /Image_Graph-0.3.0dev1/Graph/Plot/Smoothed/Bezier.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Plotarea_Element
         |
         --Image_Graph_Plot
            |
            --Image_Graph_Plot_Smoothed_Bezier

Bezier smoothed plottype.


Author(s):

Methods


Child classes:

Image_Graph_Plot_Smoothed_Area
Bezier smoothed area chart Similar to an {@see Image_Graph_Plot_Area}, but the interconnecting lines between two datapoints are smoothed using a Bezier curve, which enables the chart to appear as a nice curved plot instead of the sharp edges of a conventional {@see Image_Graph_Plot_Area}.
Image_Graph_Plot_Smoothed_Line
Bezier smoothed line chart.

Inherited Variables

Inherited Methods

Class: Image_Graph_Plot

Image_Graph_Plot::Image_Graph_Plot()
PlotType [Constructor]
Image_Graph_Plot::dataset()
Get the dataset
Image_Graph_Plot::setDataSelector()
Sets the dataselector to specify which data should be displayed on the plot as markers and which are not
Image_Graph_Plot::setMarker()
Sets the marker to 'display' data points on the graph
Image_Graph_Plot::setTitle()
Sets the title of the plot, used for legend

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::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.

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Constructor
Image_Graph_Common::add()
Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set
Image_Graph_Common::addNew()
Creates an object from the class specified and adds it to the objects element list.

Class Details

[line 49]
Bezier smoothed plottype.

The framework for calculating the Bezier smoothed curve from the dataset. Used in {@see Image_Graph_Plot_Smoothed_Line} and {@see Image_Graph_Plot_Smoothed_Area}. Smoothed charts are only supported with non-stacked types



[ Top ]


Method Detail

Image_Graph_Plot_Smoothed_Bezier (Constructor)   [line 73]

Image_Graph_Plot_Smoothed_Bezier &Image_Graph_Plot_Smoothed_Bezier( &$dataset, [string $title = ''], Dataset $dataset)

Image_Graph_Plot_Smoothed_Bezier [Constructor]

Only 'normal' multitype supported


Parameters:

Dataset   $dataset   —  The data set (value containter) to plot
string   $title   —  The title of the plot (used for legends, {@see Image_Graph_Legend})
   &$dataset   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 13:57:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.