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>SetDrawDataBorders</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="SetDrawDashedGrid.html" title="SetDrawDashedGrid" /><link rel="next" href="SetDrawPieBorders.html" title="SetDrawPieBorders" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetDrawDataBorders</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetDrawDashedGrid.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="
right"> <a accesskey="n" href="SetDrawPieBorders.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetDrawDataBorders"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetDrawDataBorders</span></h2><p>SetDrawDataBorders — Enable or disable drawing of data borders</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot->SetDrawDataBorders(<em class="parameter"><code>$draw</code></em>)</pre></div><div class="refsect1"><a id="idp1377962588"></a><h2>Description</h2><p>
<code class="function">SetDrawDataBorders</code> enables or disables drawing of the
data borders on supported plot types.
For plot types <a class="link" href="conc-plottypes.html#plottype-bars" title="3.4.2. Plot Type: bars (Bar Plot)">bars</a> and
<a class="link" href="conc-plottypes.html#plottype-stackedbars" title="3.4.15. Plot Type: stackedbars (Stacked Bar Plot)">stackedbars</a>,
these are the borders around the individual bars or bar segments in the plot.
For plot types
<a class="link" href="conc-plottypes.html#plottype-area" title="3.4.1. Plot Type: area (Area Plot)">area</a>,
<a class="link" href="conc-plottypes.html#plottype-squaredarea" title="3.4.13. Plot Type: squaredarea (Squared Area Plot)">squaredarea</a>,
<a class="link" href="conc-plottypes.html#plottype-stackedarea" title="3.4.14. Plot Type: stackedarea (Stacked Area Plot)">stackedarea</a>, and
<a class="link" href="conc-plottypes.html#plottype-stackedsquaredarea" title="3.4.16. Plot Type: stackedsquaredarea (Stacked Squared Area Plot)">stackedsquaredarea</a>,
these are outlines of the filled areas.
</p></div><div class="refsect1"><a id="idp1377966420"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$draw</code></em></span></dt><dd><p>
True to draw the data borders, False to not draw them.
</p></dd></dl></div></div><div class="refsect1"><a id="idp1377967932"></a><h2>Notes</h2><p>
By default, data borders are drawn for unshaded
<code class="literal">bars</code> and <code class="literal">stackedbars</code> plots,
and not drawn if shading is on.
(By default, shading is on for these plot types.
See <a class="xref" href="SetShading.html" title="SetShading"><span class="refentrytitle">SetShading</span></a>.)
</p><p>
By default, data borders are not drawn for
<code class="literal">area</code>,
<code class="literal">squaredarea</code>,
<code class="literal">stackedarea</code>, or
<code class="literal">stackedsquaredarea</code> plot types.
</p><p>
Use <a class="xref" href="SetDataBorderColors.html" title="SetDataBorderColors"><span class="refentrytitle">SetDataBorderColors</span></a> to set the border colors.
</p><p>
For pie charts, see <a class="xref" href="SetDrawPieBorders.html" title="SetDrawPieBorders"><span class="refentrytitle">SetDrawPieBorders</span></a>.
</p></div><div class="refsect1"><a id="idp1377972548"></a><h2>History</h2><p>
Starting with PHPlot-6.2.0, data borders are available with
<code class="literal">area</code> and <code class="literal">stackedarea</code> plot types,
and with the new
<code class="literal">squaredarea</code> and <code class="literal">stackedsquaredarea</code>
plot types.
</p><p>
This function was added in PHPlot-6.0.0. In prior versions, borders were
always drawn for unshaded bar and stacked bar plots, and never drawn for
shaded plots.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetDrawDashedGrid.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="SetDrawPieBorders.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetDrawDashedGrid </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetDrawPieBorders</td></tr></table></div></body></html>