[FIX] website_links: we dont want no crash in nvd3
nvd3 was updated recently, and its api has slightly changed. The call to nvd3 was no longer correct.
This commit is contained in:
@@ -59,8 +59,6 @@ if(!$('.o_website_links_chart').length) {
|
||||
var chart = nv.models.lineChart()
|
||||
.x(function(d) { return getDate(d); })
|
||||
.y(function(d) { return getNbClicks(d); })
|
||||
.tooltips(true)
|
||||
.transition(0)
|
||||
.showYAxis(true)
|
||||
.showXAxis(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user