Skip to content

Commit 77ec6fe

Browse files
committed
Add extras rendering block to piechart as well.
1 parent 7ef4035 commit 77ec6fe

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎nvd3/templates/piechart.html‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
{% if chart.show_controls == False %}
7777
chart.showControls(false);
7878
{% endif %}
79+
{# extra chart attributes #}
80+
{% if chart.extras %}
81+
{{ chart.extras }}
82+
{% endif %}
7983
{% endblock rendering_opts %}
8084

8185
{% block inject %}

0 commit comments

Comments
 (0)