.. SPDX-License-Identifier: BSD-2-Clause
   Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org

.. _ex_chart_bar:

Example: Bar Chart
==================

Example of creating Excel Bar charts.

Chart 1 in the following example is a default bar chart:

.. image:: _images/chart_bar1.png
   :scale: 75 %

Chart 2 is a stacked bar chart:

.. image:: _images/chart_bar2.png
   :scale: 75 %

Chart 3 is a percentage stacked bar chart:

.. image:: _images/chart_bar3.png
   :scale: 75 %

.. literalinclude:: ../../../examples/chart_bar.py
