mirror of https://github.com/OCA/web.git
Remove commented lines, put license in manifest file.
parent
2530533468
commit
ecfd38fc95
|
@ -25,6 +25,7 @@
|
||||||
'category': 'Web',
|
'category': 'Web',
|
||||||
'summary': 'Improves graph views.',
|
'summary': 'Improves graph views.',
|
||||||
'author': 'Leonardo Donelli',
|
'author': 'Leonardo Donelli',
|
||||||
|
'license': 'AGPL-3',
|
||||||
'website': 'http://learts.glaucus.in',
|
'website': 'http://learts.glaucus.in',
|
||||||
'depends': ['web_graph'],
|
'depends': ['web_graph'],
|
||||||
'data': ['view/graph_improved_view.xml'],
|
'data': ['view/graph_improved_view.xml'],
|
||||||
|
|
|
@ -64,16 +64,9 @@ openerp.web_graph_improved = function(instance) {
|
||||||
|
|
||||||
nv.addGraph(function () {
|
nv.addGraph(function () {
|
||||||
var chart = nv.models.multiBarChart()
|
var chart = nv.models.multiBarChart()
|
||||||
// .reduceXTicks(false)
|
|
||||||
.stacked(self.bar_ui === 'stack')
|
.stacked(self.bar_ui === 'stack')
|
||||||
.showControls(show_controls);
|
.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)
|
d3.select(self.svg)
|
||||||
.datum(data)
|
.datum(data)
|
||||||
.attr('width', self.width)
|
.attr('width', self.width)
|
||||||
|
|
Loading…
Reference in New Issue