Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
98 - 1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!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 &#8212; Enable or disable drawing of data borders</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetDrawDataBorders(<em class="parameter"><code>$draw</code></em>)</pre></div><div class="refsect1"><a id="idp1377962588"></a><h2>Description</h2><p>
3
<code class="function">SetDrawDataBorders</code> enables or disables drawing of the
4
data borders on supported plot types.
5
For plot types <a class="link" href="conc-plottypes.html#plottype-bars" title="3.4.2. Plot Type: bars (Bar Plot)">bars</a> and
6
<a class="link" href="conc-plottypes.html#plottype-stackedbars" title="3.4.15. Plot Type: stackedbars (Stacked Bar Plot)">stackedbars</a>,
7
these are the borders around the individual bars or bar segments in the plot.
8
For plot types
9
<a class="link" href="conc-plottypes.html#plottype-area" title="3.4.1. Plot Type: area (Area Plot)">area</a>,
10
<a class="link" href="conc-plottypes.html#plottype-squaredarea" title="3.4.13. Plot Type: squaredarea (Squared Area Plot)">squaredarea</a>,
11
<a class="link" href="conc-plottypes.html#plottype-stackedarea" title="3.4.14. Plot Type: stackedarea (Stacked Area Plot)">stackedarea</a>, and
12
<a class="link" href="conc-plottypes.html#plottype-stackedsquaredarea" title="3.4.16. Plot Type: stackedsquaredarea (Stacked Squared Area Plot)">stackedsquaredarea</a>,
13
these are outlines of the filled areas.
14
    </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>
15
True to draw the data borders, False to not draw them.
16
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1377967932"></a><h2>Notes</h2><p>
17
By default, data borders are drawn for unshaded
18
<code class="literal">bars</code> and <code class="literal">stackedbars</code> plots,
19
and not drawn if shading is on.
20
(By default, shading is on for these plot types.
21
See <a class="xref" href="SetShading.html" title="SetShading"><span class="refentrytitle">SetShading</span></a>.)
22
    </p><p>
23
By default, data borders are not drawn for
24
<code class="literal">area</code>,
25
<code class="literal">squaredarea</code>,
26
<code class="literal">stackedarea</code>, or
27
<code class="literal">stackedsquaredarea</code> plot types.
28
    </p><p>
29
Use <a class="xref" href="SetDataBorderColors.html" title="SetDataBorderColors"><span class="refentrytitle">SetDataBorderColors</span></a> to set the border colors.
30
    </p><p>
31
For pie charts, see <a class="xref" href="SetDrawPieBorders.html" title="SetDrawPieBorders"><span class="refentrytitle">SetDrawPieBorders</span></a>.
32
    </p></div><div class="refsect1"><a id="idp1377972548"></a><h2>History</h2><p>
33
Starting with PHPlot-6.2.0, data borders are available with
34
<code class="literal">area</code> and <code class="literal">stackedarea</code> plot types,
35
and with the new
36
<code class="literal">squaredarea</code> and <code class="literal">stackedsquaredarea</code>
37
plot types.
38
    </p><p>
39
This function was added in PHPlot-6.0.0. In prior versions, borders were
40
always drawn for unshaded bar and stacked bar plots, and never drawn for
41
shaded plots.
42
    </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>