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>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 access
key="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 — Draw data label lines for vertical plots</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">$plot->SetDrawXDataLabelLines(<em class="parameter"><code>$dxdl</code></em>)</pre></div><div class="refsect1"><a id="idp1377597260"></a><h2>Description</h2><p>
<code class="function">SetDrawXDataLabelLines</code> enables drawing of data label lines
for plot types that support them.
Data label lines are vertical lines drawn from the data points to the edge
or edges of the plot with the axis data labels. In the usual case, with
the X axis data labels at the bottom of the plot, the data label lines
would be drawn from the data points to the bottom of the plot area.
Depending on the data label locations set with
<a class="xref" href="SetXDataLabelPos.html" title="SetXDataLabelPos"><span class="refentrytitle">SetXDataLabelPos</span></a>, the lines would be drawn up, down, or in
both directions from the data points to the top or bottom of the plot area.
</p><p>
To use data label lines, you generally want to turn off X ticks, X tick labels,
and the X grid lines.
Your data array needs to provide data labels, which will be drawn by
default at the bottom of the plot area.
</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>
True to draw the data label lines, False to not draw the lines.
</p></dd></dl></div></div><div class="refsect1"><a id="idp1377601020"></a><h2>Notes</h2><p>
X data label lines only work with these plot types: lines, points, linepoints,
and bubbles. Data label lines can only be drawn if X axis data labels are on.
</p><p>
If a graph contains multiple data sets, data label lines drawn down will start
at the maximum Y value for each X value. Data label lines drawn up will
start at the minimum Y value for each X value.
</p><p>
By default, data label lines are not drawn.
</p><p>
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, “Example - Linepoints Plot with Data Value Labels”</a>.
</p><p>
This function is for vertical plot types. For the horizontal plot types,
see <a class="xref" href="SetDrawYDataLabelLines.html" title="SetDrawYDataLabelLines"><span class="refentrytitle">SetDrawYDataLabelLines</span></a>.
</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>