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>SetDrawXDataLabelLines</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="SetDrawXAxis.html" title="SetDrawXAxis" /><link rel="next" href="SetDrawXGrid.html" title="SetDrawXGrid" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">SetDrawXDataLabelLines</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="SetDrawXAxis.html">Prev</a> </td><th width="60%" align="center">PHPlot Function Reference</th><td width="20%" align="right"> <a accesskey="n" href="SetDrawXGrid.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="SetDrawXDataLabelLines"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">SetDrawXDataLabelLines</span></h2><p>SetDrawXDataLabelLines &#8212; Draw data label lines for vertical plots</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot-&gt;SetDrawXDataLabelLines(<em class="parameter"><code>$dxdl</code></em>)</pre></div><div class="refsect1"><a id="idp1377597260"></a><h2>Description</h2><p>
3
<code class="function">SetDrawXDataLabelLines</code> enables drawing of data label lines
4
for plot types that support them.
5
Data label lines are vertical lines drawn from the data points to the edge
6
or edges of the plot with the axis data labels.  In the usual case, with
7
the X axis data labels at the bottom of the plot, the data label lines
8
would be drawn from the data points to the bottom of the plot area.
9
Depending on the data label locations set with
10
<a class="xref" href="SetXDataLabelPos.html" title="SetXDataLabelPos"><span class="refentrytitle">SetXDataLabelPos</span></a>, the lines would be drawn up, down, or in
11
both directions from the data points to the top or bottom of the plot area.
12
    </p><p>
13
To use data label lines, you generally want to turn off X ticks, X tick labels,
14
and the X grid lines.
15
Your data array needs to provide data labels, which will be drawn by
16
default at the bottom of the plot area.
17
    </p></div><div class="refsect1"><a id="idp1377599500"></a><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>$dxdl</code></em></span></dt><dd><p>
18
True to draw the data label lines, False to not draw the lines.
19
          </p></dd></dl></div></div><div class="refsect1"><a id="idp1377601020"></a><h2>Notes</h2><p>
20
X data label lines only work with these plot types: lines, points, linepoints,
21
and bubbles. Data label lines can only be drawn if X axis data labels are on.
22
    </p><p>
23
If a graph contains multiple data sets, data label lines drawn down will start
24
at the maximum Y value for each X value. Data label lines drawn up will
25
start at the minimum Y value for each X value.
26
    </p><p>
27
By default, data label lines are not drawn.
28
    </p><p>
29
For an example of X data label lines, see <a class="xref" href="ex-linepoints2.html" title="5.33. Example - Linepoints Plot with Data Value Labels">Section 5.33, &#8220;Example - Linepoints Plot with Data Value Labels&#8221;</a>.
30
    </p><p>
31
This function is for vertical plot types. For the horizontal plot types,
32
see <a class="xref" href="SetDrawYDataLabelLines.html" title="SetDrawYDataLabelLines"><span class="refentrytitle">SetDrawYDataLabelLines</span></a>.
33
    </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="SetDrawXAxis.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="SetDrawXGrid.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">SetDrawXAxis </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> SetDrawXGrid</td></tr></table></div></body></html>