Skip to content

Commit

Permalink
Merge 2c76ac6 into d13a8f7
Browse files Browse the repository at this point in the history
  • Loading branch information
quetzaluz committed Jan 9, 2018
2 parents d13a8f7 + 2c76ac6 commit d55823b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nvd3/NVD3Chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def __init__(self, **kwargs):
:keyword: **margin_top** - default - ``30``
:keyword: **height** - default - ``''``
:keyword: **width** - default - ``''``
:keyword: **show_values** - default - ``False``
:keyword: **stacked** - default - ``False``
:keyword: **focus_enable** - default - ``False``
:keyword: **resize** - define - ``False``
Expand Down Expand Up @@ -126,6 +127,7 @@ def __init__(self, **kwargs):
self.margin_top = kwargs.get('margin_top', 30)
self.height = kwargs.get('height', '')
self.width = kwargs.get('width', '')
self.show_values = kwargs.get('show_values', False)
self.stacked = kwargs.get('stacked', False)
self.focus_enable = kwargs.get('focus_enable', False)
self.resize = kwargs.get('resize', False)
Expand Down
3 changes: 3 additions & 0 deletions nvd3/templates/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
{% if chart.show_controls == False %}
chart.showControls(false);
{% endif %}
{% if chart.show_values %}
chart.showValues(true);
{% endif %}
{% endblock rendering_opts %}

{% block focus %}
Expand Down

0 comments on commit d55823b

Please sign in to comment.