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>SetShading</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="SetRGBArray.html" title="SetRGBArray" /><link rel="next" href="SetSkipBottomTick.html" title="SetSkipBottomTick" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetShading</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetRGBArray.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetSkipBottomTick.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetShading"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetShading</span></h2><p>SetShading &#8212; Set the size of the drop shadow for bar and pie charts.</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetShading(<em class="parameter"><code>$s</code></em>)</pre></div><div class="refsect1"><a id="idp1378744012"></a><h2>Description</h2><p>
3
<code class="function">SetShading</code> sets the size in pixels of the drop shadow
4
used to give bar and pie charts a 3-D look. The 3-D look can be disabled by
5
setting the shading to zero.
6
    </p></div><div class="refsect1"><a id="idp1378745108"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$s</code></em></span></dt><dd><p>
7
Desired shading size in pixels. If this is set to 0, pie charts are flat
8
(not rotated away from the screen) with no shadow, and bars in bar charts
9
and stackedbar charts are drawn as rectangles without drop shadows.
10
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1378746764"></a><h2>Notes</h2><p>
11
The default is shading enabled with a size of 5 pixels.
12
    </p><p>
13
If shading is turned off for bar and stackedbar charts, the bars
14
will be drawn with borders. The color of the borders is set with
15
<a class="xref" href="SetDataBorderColors.html" title="SetDataBorderColors"><span class="refentrytitle">SetDataBorderColors</span></a>.
16
    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetRGBArray.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="SetSkipBottomTick.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetRGBArray </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetSkipBottomTick</td></tr></table></div></body></html>