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>SetDrawYGrid</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="SetDrawYDataLabelLines.html" title="SetDrawYDataLabelLines" /><link rel="next" href="SetErrorBarColors.html" title="SetErrorBarColors" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetDrawYGrid</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetDrawYDataLabelLines.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" alig
n="right"> <a accesskey="n" href="SetErrorBarColors.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetDrawYGrid"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetDrawYGrid</span></h2><p>SetDrawYGrid — Whether or not to draw the Y grid lines</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot->SetDrawYGrid([<span class="optional"><em class="parameter"><code>$dyg</code></em></span>])</pre></div><div class="refsect1"><a id="idp1378042748"></a><h2>Description</h2><p>
<code class="function">SetDrawYGrid</code> enables or disables the drawing of the Y
grid lines. (The Y grid lines are the horizontal lines which intersect the
Y axis and are parallel to the X axis.)
The default is to draw the Y grid for vertical plots,
and not draw the Y grid for horizontal plots.
</p></div><div class="refsect1"><a id="idp1378043964"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$dyg</code></em></span></dt><dd><p>
True to draw the Y grid lines, False to not draw the Y grid lines.
If this parameter is omitted or NULL, the default behavior is restored.
</p></dd></dl></div></div><div class="refsect1"><a id="idp1378045564"></a><h2>Notes</h2><p>
Grid lines are drawn at tick mark positions.
</p><p>
<a class="xref" href="SetLightGridColor.html" title="SetLightGridColor"><span class="refentrytitle">SetLightGridColor</span></a> sets the color of the grid lines.
</p></div><div class="refsect1"><a id="idp1378046812"></a><h2>History</h2><p>
The ability to specify NULL or omit the parameter to restore the default
behavior was added in PHPlot-6.0.0.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetDrawYDataLabelLines.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="SetErrorBarColors.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetDrawYDataLabelLines </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetErrorBarColors</td></tr></table></div></body></html>