From 338c5a20021d77077f881bad1ddb279bc63bb499 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Mon, 20 Jul 2015 11:47:36 +0200 Subject: [PATCH] Same with no_data --- docs/documentation/configuration/data.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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', [])