.
var data_grafico = [{ "x": "DE ARICA Y PARINACOTA", "Inscritos": 191517 , Votacion: 61389}, { "x": "DE TARAPACA", "Inscritos": 259550 , Votacion: 84852}, { "x": "DE ANTOFAGASTA", "Inscritos": 480786 , Votacion: 166839}, { "x": "DE ATACAMA", "Inscritos": 242389 , Votacion: 89329}, { "x": "DE COQUIMBO", "Inscritos": 614348 , Votacion: 248286}, { "x": "DE VALPARAISO", "Inscritos": 1600651 , Votacion: 711560}, { "x": "METROPOLITANA DE SANTIAGO", "Inscritos": 5856557 , Votacion: 2593810}, { "x": "DEL LIBERTADOR GENERAL BERNARDO O'HIGGINS", "Inscritos": 773413 , Votacion: 362345}, { "x": "DEL MAULE", "Inscritos": 885193 , Votacion: 383175}, { "x": "DE ÑUBLE", "Inscritos": 428624 , Votacion: 182071}, { "x": "DEL BIOBIO", "Inscritos": 1333847 , Votacion: 529578}, { "x": "DE LA ARAUCANIA", "Inscritos": 883430 , Votacion: 283792}, { "x": "DE LOS RIOS", "Inscritos": 350799 , Votacion: 128681}, { "x": "DE LOS LAGOS", "Inscritos": 740366 , Votacion: 268246}, { "x": "DE AYSEN DEL GENERAL CARLOS IBAÑEZ DEL CAMPO", "Inscritos": 98605 , Votacion: 37272}, { "x": "DE MAGALLANES Y DE LA ANTARTICA CHILENA", "Inscritos": 160115 , Votacion: 59223}, ];var bar = Morris.Bar({element: 'graph',data: data_grafico,xkey: 'x',ykeys: ['Inscritos', 'Votacion'],labels: ['Inscritos', 'Votacion'],xLabelsDiagonal: true,xLabelMargin: 10,xLabelAngle: 90,redraw: true,resize: true,padding: 60,hideHover: 'auto',parseTime : false});