From d600ad2da17bc1160e08b457fecd1757b5dca1be Mon Sep 17 00:00:00 2001 From: Cyd La Luz Date: Wed, 14 Mar 2018 15:55:02 -0700 Subject: [PATCH] Move call to render chart.extras to inheritable template block #135 --- nvd3/templates/content.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nvd3/templates/content.html b/nvd3/templates/content.html index f4d2125a..8690a230 100644 --- a/nvd3/templates/content.html +++ b/nvd3/templates/content.html @@ -39,6 +39,11 @@ {% if chart.show_values %} chart.showValues(true); {% endif %} + + {# extra chart attributes #} + {% if chart.extras %} + {{ chart.extras }} + {% endif %} {% endblock rendering_opts %} {% block focus %} @@ -130,11 +135,6 @@ .call(chart); {% endblock inject %} - {# extra chart attributes #} - {% if chart.extras %} - {{ chart.extras }} - {% endif %} - {# callback for clicking on charts #} {% if chart.callback %} },{{ chart.callback }});