$ (function () {

'use strict';
document.getElementById('valor-media-compras').innerHTML = "1701,8";
document.getElementById('valor-total-faturado').innerHTML = "144652,71";
var area, donutClasse, donutProduto, barPeso, barQuantidade;   var bar = new Morris.Bar({ 
    element: 'bar-chart', 
    resize: true, 
    hideHover: 'auto', 
    data: [{ 
      y: "TILAPIA FILE  CORTE V GRANEL CX/15KG ", 
      item1: 17287.8 
   }, { 
      y: "MERLUZA FILE INTERF 07 KG/CX 21 KG DIVERSOS", 
      item1: 15088.5 
   }, { 
      y: "TILAPIA FILE  CORTE V GRANEL CX/15KG ", 
      item1: 14970 
   }, { 
      y: "CAÇÃO POSTA GR/CX10KG  PEIXES MEGGS", 
      item1: 8508.6 
   }, { 
      y: "CAMBUCU PESCADA FILE GR CX 10KG PEIXES MEGGS ", 
      item1: 7628 
   }], 
    xkey: 'y', 
    ykeys: ['item1'], 
    labels: ['Faturamento R$'], 
    barColors: ['#efefef'], 
    gridTextFamily: 'Calibri', 
    gridTextColor: '#ffffff', 
    gridTextSize: 11, 
    gridLineColor: '#ffffff', 
    barSizeRatio: 0.50, 
    xLabelMargin: 5 
  }); 

});
