File: example_chart_data_tools.rst

package info (click to toggle)
xlsxwriter 3.1.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 56,308 kB
  • sloc: python: 51,511; javascript: 7,768; sh: 284; makefile: 195; perl: 75
file content (43 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.. SPDX-License-Identifier: BSD-2-Clause
   Copyright 2013-2023, John McNamara, jmcnamara@cpan.org

.. _ex_chart_data_tools:

Example: Charts with Data Tools
===============================

A demo of an various Excel chart data tools that are available via an
XlsxWriter chart. These include, Trendlines, Data Labels, Error Bars, Drop
Lines, High-Low Lines and Up-Down Bars.

Chart 1 in the following example is a chart with trendlines:

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

Chart 2 is a chart with data labels and markers:

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

Chart 3 is a chart with error bars:

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

Chart 4 is a chart with up-down bars:

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

Chart 5 is a chart with hi-low lines:

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

Chart 6 is a chart with drop lines:

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

.. literalinclude:: ../../../examples/chart_data_tools.py