|
|
@ -99,21 +99,9 @@ You can also set `explicit_size` to True to add size attributes to the svg tag. |
|
|
|
Scaling |
|
|
|
Scaling |
|
|
|
------- |
|
|
|
------- |
|
|
|
|
|
|
|
|
|
|
|
``x_scale, y_scale, include_x_axis`` |
|
|
|
``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]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Scales are computed automaticaly between the min and the max values. |
|
|
|
|
|
|
|
|
|
|
|
You may want to always have the absissa in your graph: |
|
|
|
You may want to always have the absissa in your graph: |
|
|
|
|
|
|
|
|
|
|
|