Browse Source

Remove commented lines, put license in manifest file.

pull/74/head
Leonardo Donelli 9 years ago
parent
commit
ecfd38fc95
  1. 1
      web_graph_improved/__openerp__.py
  2. 7
      web_graph_improved/static/src/js/web_graph_improved.js

1
web_graph_improved/__openerp__.py

@ -25,6 +25,7 @@
'category': 'Web',
'summary': 'Improves graph views.',
'author': 'Leonardo Donelli',
'license': 'AGPL-3',
'website': 'http://learts.glaucus.in',
'depends': ['web_graph'],
'data': ['view/graph_improved_view.xml'],

7
web_graph_improved/static/src/js/web_graph_improved.js

@ -64,16 +64,9 @@ openerp.web_graph_improved = function(instance) {
nv.addGraph(function () {
var chart = nv.models.multiBarChart()
// .reduceXTicks(false)
.stacked(self.bar_ui === 'stack')
.showControls(show_controls);
// if (self.width / data[0].values.length < 80) {
// chart.rotateLabels(-15);
// chart.reduceXTicks(true);
// chart.margin({bottom:40});
// }
d3.select(self.svg)
.datum(data)
.attr('width', self.width)

Loading…
Cancel
Save