From b820d07f125d5fe1951547d0e908faced67f4d9e Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Tue, 25 Jul 2017 23:38:57 +0300 Subject: [PATCH] Add. Make legend outside of graphic of CDR Statistic. (#2760) --- app/xml_cdr/xml_cdr_statistics.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/xml_cdr/xml_cdr_statistics.php b/app/xml_cdr/xml_cdr_statistics.php index a88d9555b3..c7b4401c10 100644 --- a/app/xml_cdr/xml_cdr_statistics.php +++ b/app/xml_cdr/xml_cdr_statistics.php @@ -86,6 +86,11 @@ else {
+ + +
+
+
@@ -155,6 +160,12 @@ else { if (data.length > 0) $.plot($("#placeholder"), data, { + legend:{ + show: true, + noColumns: 10, + container: $("#placeholder-legend"), + placement: 'outsideGrid', + }, yaxis: { min: 0 },