<html lang="en"> <head> <title>Bar series - Untitled</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Untitled"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Object-Groups.html#Object-Groups" title="Object Groups"> <link rel="prev" href="Area-series.html#Area-series" title="Area series"> <link rel="next" href="Contour-groups.html#Contour-groups" title="Contour groups"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="Bar-series"></a> <p> Next: <a rel="next" accesskey="n" href="Contour-groups.html#Contour-groups">Contour groups</a>, Previous: <a rel="previous" accesskey="p" href="Area-series.html#Area-series">Area series</a>, Up: <a rel="up" accesskey="u" href="Object-Groups.html#Object-Groups">Object Groups</a> <hr> </div> <h5 class="subsubsection">15.2.8.3 Bar series</h5> <p><a name="index-series-objects-1234"></a><a name="index-bar-series-1235"></a> Bar series objects are created by the <code>bar</code> or <code>barh</code> functions. Each <code>hggroup</code> element contains a single patch object. The properties of the bar series are <dl> <dt><code>showbaseline</code><dt><code>baseline</code><dt><code>basevalue</code><dd>The property <code>showbaseline</code> flags whether the baseline of the bar series is displayed (default is "on"). The handle of the graphics object representing the baseline is given by the <code>baseline</code> property and the y-value of the baseline by the <code>basevalue</code> property. <p>Changes to any of these property are propagated to the other members of the bar series and to the baseline itself. Equally changes in the properties of the base line itself are propagated to the members of the corresponding bar series. <br><dt><code>barwidth</code><dt><code>barlayout</code><dt><code>horizontal</code><dd>The property <code>barwidth</code> is the width of the bar corresponding to the <var>width</var> variable passed to <code>bar</code> or <var>barh</var>. Whether the bar series is "grouped" or "stacked" is determined by the <code>barlayout</code> property and whether the bars are horizontal or vertical by the <code>horizontal</code> property. <p>Changes to any of these property are propagated to the other members of the bar series. <br><dt><code>linewidth</code><dt><code>linestyle</code><dd>The line width and style of the edge of the patch objects making up the bars. See <a href="Line-Styles.html#Line-Styles">Line Styles</a>. <br><dt><code>edgecolor</code><dt><code>facecolor</code><dd>The line and fill color of the patch objects making up the bars. See <a href="Colors.html#Colors">Colors</a>. <br><dt><code>xdata</code><dd>The nominal x positions of the bars. Changes in this property and propagated to the other members of the bar series. <br><dt><code>ydata</code><dd>The y value of the bars in the <code>hggroup</code>. <br><dt><code>xdatasource</code><dt><code>ydatasource</code><dd>Data source variables. </dl> </body></html>