Subversion Repositories cheapmusic

Rev

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>SetPieDirection</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="SetPieBorderColor.html" title="SetPieBorderColor" /><link rel="next" href="SetPieLabelColor.html" title="SetPieLabelColor" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetPieDirection</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetPieBorderColor.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetPieLabelColor.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetPieDirection"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetPieDirection</span></h2><p>SetPieDirection &#8212; Set the direction for pie chart segments</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetPieDirection(<em class="parameter"><code>$which</code></em>)</pre></div><div class="refsect1"><a id="idp1378467100"></a><h2>Description</h2><p>
<code class="function">SetPieDirection</code> sets the direction for segments around
a pie chart - clockwise or counter-clockwise.
    </p></div><div class="refsect1"><a id="idp1378468140"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$which</code></em></span></dt><dd><p>
Indicates the direction for pie segments.
Use the string <code class="literal">'clockwise'</code> or <code class="literal">'CW'</code>
to get segments in a clockwise direction.
Use the string <code class="literal">'counterclockwise'</code> or <code class="literal">'CCW'</code>
to get segments in a counter-clockwise direction.
(The argument value is not case sensitive.)
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1378471236"></a><h2>Notes</h2><p>
The default direction is counter-clockwise.
    </p><p>
See also <a class="xref" href="SetPieStartAngle.html" title="SetPieStartAngle"><span class="refentrytitle">SetPieStartAngle</span></a> which is used to set the
starting angle for the first pie segment.
    </p></div><div class="refsect1"><a id="idp1378472532"></a><h2>Example</h2><p>
See <a class="xref" href="ex-pieangle.html" title="5.47. Example - Pie Chart Start Angle and Direction">Section 5.47, &#8220;Example - Pie Chart Start Angle and Direction&#8221;</a>.
    </p></div><div class="refsect1"><a id="idp1378473516"></a><h2>History</h2><p>
This function was added in PHPlot-6.0.0. Before that, pie chart segments
always started at 0 degrees and advanced in a counter-clockwise direction
around the pie.
    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetPieBorderColor.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="SetPieLabelColor.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetPieBorderColor </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetPieLabelColor</td></tr></table></div></body></html>