mirror of https://github.com/Kozea/pygal.git
Python to generate nice looking SVG graph
http://pygal.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
623 B
36 lines
623 B
Titles |
|
====== |
|
|
|
|
|
title |
|
----- |
|
|
|
You can add a title to the chart by setting the ``title`` option: |
|
|
|
.. pygal-code:: |
|
|
|
chart = pygal.Line(title=u'Some points') |
|
chart.add('line', [.0002, .0005, .00035]) |
|
|
|
|
|
x_title |
|
------- |
|
|
|
You can add a title to the x axis by setting the ``x_title`` option: |
|
|
|
.. pygal-code:: |
|
|
|
chart = pygal.Line(title=u'Some points', x_title='X Axis') |
|
chart.add('line', [.0002, .0005, .00035]) |
|
|
|
|
|
y_title |
|
------- |
|
|
|
|
|
You can add a title to the y axis by setting the ``y_title`` option: |
|
|
|
.. pygal-code:: |
|
|
|
chart = pygal.Line(title=u'Some points', y_title='Y Axis') |
|
chart.add('line', [.0002, .0005, .00035])
|
|
|