Browse Source

Update doc to show print_value styling

pull/264/head
Florian Mounier 9 years ago
parent
commit
6b58d14b58
  1. 6
      docs/documentation/configuration/data.rst

6
docs/documentation/configuration/data.rst

@ -32,7 +32,11 @@ When using pygal without javascript for printing for example you can chose to ac
.. pygal-code::
chart = pygal.Bar(js=[], print_values=True)
from pygal.style import DefaultStyle
chart = pygal.Bar(js=[], print_values=True, style=DefaultStyle(
value_font_family='googlefont:Raleway',
value_font_size=30,
value_colors=('white',)))
chart.add('line', [0, 12, 31, 8, 28, 0])

Loading…
Cancel
Save