From 7edcc0659bf3295532974d1d3569f3454290e8e7 Mon Sep 17 00:00:00 2001 From: etimberg Date: Wed, 18 Nov 2015 21:30:16 -0500 Subject: [PATCH] Fix polar area legends --- src/charts/Chart.PolarArea.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/charts/Chart.PolarArea.js b/src/charts/Chart.PolarArea.js index 20171f7f7..2b44bb9aa 100644 --- a/src/charts/Chart.PolarArea.js +++ b/src/charts/Chart.PolarArea.js @@ -7,7 +7,23 @@ var defaultConfig = { aspectRatio: 1, - legendTemplate: "", + legendCallback: function(chart) { + var text = []; + text.push(''); + return text.join(""); + } }; Chart.PolarArea = function(context, config) { -- 2.47.2