$ (function () {

'use strict';
document.getElementById('valor-media-compras').innerHTML = "1437,2";
document.getElementById('valor-total-faturado').innerHTML = "33055,7";
var area, donutClasse, donutProduto, barPeso, barQuantidade;   var bar = new Morris.Bar({ 
    element: 'bar-chart', 
    resize: true, 
    hideHover: 'auto', 
    data: [{ 
      y: "CAMARAO ROSA DESC EVISC 25/30 PÇS PCT2KG CX8KG FAST FISH ", 
      item1: 6024 
   }, { 
      y: "CAMARAO 7BARBAS G S/CABECA PCT2KG CX 8KG MULTI FISH", 
      item1: 2647.52 
   }, { 
      y: "CAMARAO ROSA INTEIRO 16/20PÇ CONG. CX 12KG DIVERSOS", 
      item1: 2268 
   }, { 
      y: "PESCADA FILE CONG GRANEL CX16 KG  DIVERSAS", 
      item1: 2212.8 
   }, { 
      y: "CAMARAO ROSA DESC EVISC 16/20 PÇS PCT2KG CX8KG FAST FISH ", 
      item1: 2039.2 
   }], 
    xkey: 'y', 
    ykeys: ['item1'], 
    labels: ['Faturamento R$'], 
    barColors: ['#efefef'], 
    gridTextFamily: 'Calibri', 
    gridTextColor: '#ffffff', 
    gridTextSize: 11, 
    gridLineColor: '#ffffff', 
    barSizeRatio: 0.50, 
    xLabelMargin: 5 
  }); 

});
