Blame | Last modification | View Log | RSS feed
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>SetDataValues</title><link rel="stylesheet" type="text/css" href="phplotdoc.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="PHPlot Reference Manual" /><link rel="up" href="reference.html" title="PHPlot Function Reference" /><link rel="prev" href="SetDataValueLabelColor.html" title="SetDataValueLabelColor" /><link rel="next" href="SetDefaultDashedStyle.html" title="SetDefaultDashedStyle" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetDataValues</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetDataValueLabelColor.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width=
"20%" align="right"> <a accesskey="n" href="SetDefaultDashedStyle.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetDataValues"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetDataValues</span></h2><p>SetDataValues — Set the data array for plotting</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot->SetDataValues(<em class="parameter"><code>$dv</code></em>)</pre></div><div class="refsect1"><a id="idp1377922028"></a><h2>Description</h2><p>
<code class="function">SetDataValues</code> sets the data array which contains the
data values to be plotted. Use of this function is required.
</p></div><div class="refsect1"><a id="idp1377923084"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$dv</code></em></span></dt><dd><p>
The data array, containing values according to the data type format
set by <a class="xref" href="SetDataType.html" title="SetDataType"><span class="refentrytitle">SetDataType</span></a>.
</p></dd></dl></div></div><div class="refsect1"><a id="idp1377924956"></a><h2>Notes</h2><p>
The data array <em class="parameter"><code>$dv</code></em> must use zero-based sequential
integer indexes. Each entry in the data
array is also an array, representing one 'record'. The record arrays need
not use zero based sequential integer indexes; the entries are processed in
the same order in which they were defined, regardless of the index values.
</p><p>
For more on data arrays and data types, see <a class="xref" href="conc-datatypes.html" title="3.3. PHPlot Data Types">Section 3.3, “PHPlot Data Types”</a>.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetDataValueLabelColor.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="SetDefaultDashedStyle.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetDataValueLabelColor </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetDefaultDashedStyle</td></tr></table></div></body></html>