.
var data_grafico = [{ "x": "ARICA Y PARINACOTA", "Inscritos": 185062 , Votacion: 71216}, { "x": "DE TARAPACA", "Inscritos": 243343 , Votacion: 93324}, { "x": "DE ANTOFAGASTA", "Inscritos": 448762 , Votacion: 182380}, { "x": "DE ATACAMA", "Inscritos": 233470 , Votacion: 102750}, { "x": "DE COQUIMBO", "Inscritos": 577321 , Votacion: 266673}, { "x": "DE VALPARAISO", "Inscritos": 1538532 , Votacion: 749632}, { "x": "METROPOLITANA DE SANTIAGO", "Inscritos": 5641350 , Votacion: 2850621}, { "x": "DEL LIBERTADOR BDO. O'HIGGINS", "Inscritos": 738415 , Votacion: 381915}, { "x": "DEL MAULE", "Inscritos": 849287 , Votacion: 445438}, { "x": "DEL BIOBIO", "Inscritos": 1708499 , Votacion: 872429}, { "x": "DE LA ARAUCANIA", "Inscritos": 848032 , Votacion: 407676}, { "x": "DE LOS RIOS", "Inscritos": 336957 , Votacion: 164306}, { "x": "DE LOS LAGOS", "Inscritos": 705899 , Votacion: 324871}, { "x": "AISEN DEL GRAL. CARLOS IBAÑEZ", "Inscritos": 95078 , Votacion: 38039}, { "x": "DE MAGALLANES Y ANTARTICA CH.", "Inscritos": 158144 , Votacion: 60288}, ];
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
});