_createLegend: function(el, data, category) {
      this.legends.push({
        element: el,
        data: data,
        category: category,