Browse Source

Same with no_data

pull/264/head
Florian Mounier 10 years ago
parent
commit
338c5a2002
  1. 4
      docs/documentation/configuration/data.rst

4
docs/documentation/configuration/data.rst

@ -79,5 +79,7 @@ Text to display instead of the graph when no data is supplied:
.. pygal-code::
chart = pygal.Line(no_data_text='No result found')
from pygal.style import DefaultStyle
chart = pygal.Line(no_data_text='No result found',
style=DefaultStyle(no_data_font_size=40))
chart.add('line', [])

Loading…
Cancel
Save