diff --git a/inc/myco.js b/inc/myco.js index e13d760..f8890af 100644 --- a/inc/myco.js +++ b/inc/myco.js @@ -217,7 +217,7 @@ refresh_group_categories=function(group) { 'hoverable': true }, 'legend': { - 'show': true, + 'show': false, }, 'series': { 'pie': { diff --git a/inc/myco_objects.js b/inc/myco_objects.js index aef11e0..39994a4 100644 --- a/inc/myco_objects.js +++ b/inc/myco_objects.js @@ -417,7 +417,8 @@ function Group(uuid,name,data) { if (jQuery.type(this.categories[cid])!='undefined') { data.push({ 'label': this.categories[cid].name, - 'data': cats[cid] + 'data': cats[cid], + 'color': this.categories[cid].color }); } }