SetPlotType
SetPlotType — Select the type of plot - how the data will be graphed
Synopsis
$plot->SetPlotType($pt
)
Description
SetPlotType
selects a type of plot from among the plot
types supported by PHPlot. This includes bar charts, line plots, point
plots, and others. A complete description of the type of plots available
can be found in Section 3.4, “PHPlot Plot Types”.
Parameters
$pt
A string indicating the type of plot. The following types are available:
area
bars
candlesticks
candlesticks2
linepoints
lines
ohlc
pie
points
squared
stackedarea
stackedbars
thinbarline
Notes
The default plot type is 'linepoints'.
History
Plot types 'candlesticks', 'candlesticks2', and 'ohlc'
were added in PHPlot-5.3.0.
Plot type 'stackedarea' was added in PHPlot-5.1.1.