Properties

$dateFormat

$dateFormat : string

Type

string — Date format

$types

$types : array

Type definition

Type

array

$options

$options : array

Chart options

Type

array

Methods

write()

write() : string

Write part

Returns

string

writeText()

writeText(string  $content) : boolean

Write an XML text, this will call text() or writeRaw() depending on the value of Settings::isOutputEscapingEnabled()

Parameters

string $content

The text string to write

Returns

boolean —

Returns true on success or false on failure

writeSeries()

writeSeries(\PhpOffice\Common\XMLWriter  $xmlWriter, boolean  $scatter = false) 

Write series.

Parameters

\PhpOffice\Common\XMLWriter $xmlWriter
boolean $scatter

writeSeriesItem()

writeSeriesItem(\PhpOffice\Common\XMLWriter  $xmlWriter, string  $type, array  $values) 

Write series items.

Parameters

\PhpOffice\Common\XMLWriter $xmlWriter
string $type
array $values

writeAxis()

writeAxis(\PhpOffice\Common\XMLWriter  $xmlWriter, string  $type) 

Write axis

Parameters

\PhpOffice\Common\XMLWriter $xmlWriter
string $type

writeShape()

writeShape(\PhpOffice\Common\XMLWriter  $xmlWriter, boolean  $line = false) 

Write shape

Parameters

\PhpOffice\Common\XMLWriter $xmlWriter
boolean $line

writeAxisTitle()

writeAxisTitle(\PhpOffice\Common\XMLWriter  $xmlWriter,   $title) 

Parameters

\PhpOffice\Common\XMLWriter $xmlWriter
$title