.. _bar_plot:

Bar Plot
========
Here you will find the guide to every parameter of the bar plot. If you
need more generic information please see :ref:`basic_usage`.

.. image:: /img/bar/bar.png
  :scale: 50%

Plot Properties
---------------
``Layer``: the combobox will display all the vector layer loaded in QGIS

``X``: the X field

``Y Field``: the Y field

``Bar Color``: color of the bar

``Stroke Color``: border color

``Stroke Width``: the width of the border

``Transparency``: transparecy level of the bar

Plot Customizations
-------------------
``Show Legend``: show the legend of the current plot

``Plot Title``: the plot title

``Legend Title``: the title of the legend

``X Label``: X label text

``Y Label``: Y label text

``Invert X Axis``: check if you want to invert the ordering of the x axis

``Invert Y Axis``: check if you want to invert the ordering of the y axis

``Box Orientation``: the orientation of the bar, either *Horizontal* or *Vertical*

``Bar Mode``: this option is handy if you have more data to plot:

  1. **Grouped**: the bars are placed one next the other

    .. image:: /img/bar/grouped.png
      :scale: 50%

  2. **Stacked**: bars are stacked one over the other

    .. image:: /img/bar/stacked.png
      :scale: 50%

  3. **Grouped**: bar can be overlayed. Adjust the ``Transparecy`` setting

    .. image:: /img/bar/overlay.png
      :scale: 50%
