From ab9a0cb679a618eca4581b502c441fdda463ea1a Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Tue, 19 Jan 2016 12:07:00 +0100 Subject: [PATCH] [FIX] website_links: don't show the label on the pie chart The label is already display just before the pie and the label are display one over the other preventing visibility. opw-666405 --- addons/website_links/static/src/js/website_links_charts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_links/static/src/js/website_links_charts.js b/addons/website_links/static/src/js/website_links_charts.js index 326e6304758..73d90ecf52b 100644 --- a/addons/website_links/static/src/js/website_links_charts.js +++ b/addons/website_links/static/src/js/website_links_charts.js @@ -105,7 +105,7 @@ if(!$('.o_website_links_chart').length) { var chart = nv.models.pieChart() .x(function(d) { return d.label; }) .y(function(d) { return d.value; }) - .showLabels(true); + .showLabels(false); d3.select(self.$element + ' svg') .datum(processed_data)