Browse Source

Fix documentation, fix #323

pull/333/head
Florian Mounier 9 years ago
parent
commit
0ce63ed8be
  1. 4
      docs/documentation/configuration/serie.rst
  2. 4
      docs/documentation/configuration/value.rst

4
docs/documentation/configuration/serie.rst

@ -9,8 +9,8 @@ Series are customized using keyword args set in the ``add`` function:
.. code-block:: python .. code-block:: python
chart = pygal.Line() chart = pygal.Line()
chart.add([1, 2, 3], fill=True) chart.add('', [1, 2, 3], fill=True)
chart.add([3, 2, 1], dot=False) chart.add('', [3, 2, 1], dot=False)

4
docs/documentation/configuration/value.rst

@ -9,8 +9,8 @@ Values are customized by replacing the value with a dictionary containing the va
.. code-block:: python .. code-block:: python
chart = pygal.Line() chart = pygal.Line()
chart.add([1, {'value': 2, 'label': 'two'}, 3]) chart.add('', [1, {'value': 2, 'label': 'two'}, 3])
chart.add([3, 2, 1]) chart.add('', [3, 2, 1])
Labels Labels

Loading…
Cancel
Save