%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/app/unidades/administrativo/dist/js/pages/chartjs/
Upload File :
Create Path :
Current File : /home/vacivi36/app/unidades/administrativo/dist/js/pages/chartjs/chartjs.init.min.js

$(function(){"use strict";new Chart(document.getElementById("bar-chart"),{type:"bar",data:{labels:["Africa","Asia","Europe","Latin America","North America"],datasets:[{label:"Population (millions)",backgroundColor:["#22ca80","#e83e8c","#5f76e8","#fdc16a","#343a40"],data:[8478,6267,5734,4784,1833]}]},options:{legend:{display:!1},title:{display:!0,text:"Predicted world population (millions) in 2050"}}}),new Chart(document.getElementById("pie-chart"),{type:"pie",data:{labels:["Africa","Asia","Europe","Latin America"],datasets:[{label:"Population (millions)",backgroundColor:["#22ca80","#e83e8c","#5f76e8","#fdc16a"],data:[2478,5267,3734,2784]}]},options:{title:{display:!0,text:"Predicted world population (millions) in 2050"}}}),new Chart(document.getElementById("bar-chart-horizontal"),{type:"horizontalBar",data:{labels:["Africa","Asia","Europe","Latin America","North America"],datasets:[{label:"Population (millions)",backgroundColor:["#22ca80","#e83e8c","#5f76e8","#fdc16a","#343a40"],data:[8478,6267,5534,4784,3433]}]},options:{legend:{display:!1},title:{display:!0,text:"Predicted world population (millions) in 2050"}}}),new Chart(document.getElementById("polar-chart"),{type:"polarArea",data:{labels:["Africa","Asia","Europe","Latin America"],datasets:[{label:"Population (millions)",backgroundColor:["#22ca80","#e83e8c","#5f76e8","#fdc16a"],data:[2478,5267,5734,3784]}]},options:{title:{display:!0,text:"Predicted world population (millions) in 2050"}}}),new Chart(document.getElementById("radar-chart"),{type:"radar",data:{labels:["Africa","Asia","Europe","Latin America","North America"],datasets:[{label:"250",fill:!0,backgroundColor:"rgba(255, 79, 112,0.2)",borderColor:"rgba(255, 79, 112,1)",pointBorderColor:"#fff",pointBackgroundColor:"rgba(255, 79, 112,1)",data:[8.77,55.61,21.69,6.62,6.82]},{label:"4050",fill:!0,backgroundColor:"rgba(95, 118, 232,0.2)",borderColor:"rgba(95, 118, 232,1)",pointBorderColor:"#fff",pointBackgroundColor:"rgba(95, 118, 232,1)",pointBorderColor:"#fff",data:[25.48,54.16,7.61,8.06,4.45]}]},options:{title:{display:!0,text:"Distribution in % of world population"}}}),new Chart(document.getElementById("line-chart"),{type:"line",data:{labels:[4500,3500,3200,3050,2700,2450,2200,1750,1499,2050],datasets:[{data:[86,114,106,106,107,111,133,221,783,2478],label:"Africa",borderColor:"#5f76e8",fill:!1},{data:[282,350,411,502,635,809,947,1402,3700,5267],label:"Asia",borderColor:"#e83e8c",fill:!1},{data:[168,170,178,190,203,276,408,547,675,734],label:"Europe",borderColor:"#343a40",fill:!1},{data:[40,20,10,16,24,38,74,167,508,784],label:"Latin America",borderColor:"#fdc16a",fill:!1},{data:[6,3,2,2,7,26,82,172,312,433],label:"North America",borderColor:"#01caf1",fill:!1}]},options:{title:{display:!0,text:"World population per region (in millions)"}}})});

Zerion Mini Shell 1.0