@@ -126,6 +126,7 @@ def __init__(self, **kwargs):
         self.show_legend = kwargs.get('show_legend', True)
         self.show_labels = kwargs.get('show_labels', True)
         self.tag_script_js = kwargs.get('tag_script_js', True)
+        self.chart_attr = kwargs.get("chart_attr", None)
         self.assets_directory = kwargs.get('assets_directory', './bower_components/')
 
         #CDN http://cdnjs.com/libraries/nvd3/ needs to make sure it's up to date
@@ -426,6 +427,10 @@ def buildjschart(self):
             else:
                 self.jschart += stab(2) + "chart.showLabels(false);\n"
 
+        # add custome chart attributes
+        for attr, value in self.chart_attr.items():
+            self.jschart += stab(2) + "chart.%s(%s);\n" % (attr, value)
+
         #Inject data to D3
         self.jschart += stab(2) + "d3.select('#%s svg')\n" % self.name + \
             stab(3) + ".datum(%s)\n" % datum + \