SetPlotType
Prev | PHPlot Function Reference | Next

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

## Parameters

`$pt`

  A string indicating the type of plot. The following types are available:

  - area

  - bars

  - boxes

  - bubbles

  - candlesticks

  - candlesticks2

  - linepoints

  - lines

  - ohlc

  - pie

  - points

  - squared

  - stackedarea

  - stackedbars

  - thinbarline

## Notes

The default plot type is 'linepoints'.

A complete description of the available plot types can be found in Section 3.4, “PHPlot Plot Types”.

## History

Plot type 'boxes' was added in PHPlot-6.1.0.

Plot type 'bubbles' was added in PHPlot-5.5.0.

Plot types 'candlesticks', 'candlesticks2', and 'ohlc' were added in PHPlot-5.3.0.

Plot type 'stackedarea' was added in PHPlot-5.1.1.

Prev | Up | Next
SetPlotBorderType | Home | SetPointShapes