diff --git a/docs/documentation/configuration/data.rst b/docs/documentation/configuration/data.rst index 2265fae..8367908 100644 --- a/docs/documentation/configuration/data.rst +++ b/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', [])