Browse Source

Minor fixes

pull/36/head
Florian Mounier 13 years ago
parent
commit
978cf2cd47
  1. 16
      pages/basic_customizations.rst
  2. 4
      pages/documentation.rst
  3. 3
      pages/other_customizations.rst

16
pages/basic_customizations.rst

@ -99,21 +99,9 @@ You can also set `explicit_size` to True to add size attributes to the svg tag.
Scaling
-------
``x_scale, y_scale, include_x_axis``
Indicate a hint for the scale computation:
.. pygal-code::
chart = pygal.Line()
chart.add('line', [.0002, .0005, .00035])
.. pygal-code::
chart = pygal.Line(y_scale=.0001)
chart.add('line', [.0002, .0005, .00035])
``include_x_axis``
Scales are computed automaticaly between the min and the max values.
You may want to always have the absissa in your graph:

4
pages/documentation.rst

@ -14,7 +14,7 @@ User documentation
- `Other customizations </other_customizations>`_ - customize all the things.
Developper documentation
========================
Developer documentation
=======================
- `Create a chart type </chart_creation>`_ - extend pygal.

3
pages/other_customizations.rst

@ -23,6 +23,9 @@ You can set the scale to be logarithmic:
chart.x_labels = map(str, values)
chart.add('log example', values)
.. caution::
Negative values are ignored, interpolation might be broken if it goes below zero...
Custom css and js
-----------------

Loading…
Cancel
Save