KUJUNTI.ID MINISH3LL
Path : /var/www/html/thb_loan_system/public/assets/themes/limitless/js/charts/google/other/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/thb_loan_system/public/assets/themes/limitless/js/charts/google/other/geo.js


/* ------------------------------------------------------------------------------
 *
 *  # Google Visualization - geo chart
 *
 *  Google Visualization geo chart demonstration
 *
 *  Version: 1.0
 *  Latest update: August 1, 2015
 *
 * ---------------------------------------------------------------------------- */


// Geo chart
// ------------------------------

// Initialize chart
google.load("visualization", "1", {packages:["geochart"]});
google.setOnLoadCallback(drawRegionsMap);


// Chart settings
function drawRegionsMap() {

    // Data
    var data = google.visualization.arrayToDataTable([
        ['Country', 'Popularity'],
        ['Germany', 200],
        ['United States', 300],
        ['Brazil', 400],
        ['Canada', 500],
        ['France', 600],
        ['RU', 700]
    ]);


    // Options
    var options = {
        fontName: 'Roboto',
        height: 500,
        width: "100%",
        fontSize: 12,
        tooltip: {
            textStyle: {
                fontName: 'Roboto',
                fontSize: 13
            }
        }
    };


    // Draw chart
    var chart = new google.visualization.GeoChart($('#google-geo-region')[0]);
    chart.draw(data, options);
}

© KUJUNTI.ID