Skip to content

jQuery Google Charts

DEMO SITE.

Basic usage:


    var api = new jGCharts.Api();
    jQuery('<img>')
    .attr('src', api.make({data : [[153, 60, 52], [113, 70, 60], [120, 80, 40]]}))
    .appendTo(”#bar1″);

Table helper plugin:


    jQuery(".jgtable").jgtable();

Json options:


    jQuery.getJSON(
        "../json/example.json",
        //wait json data
        function(json){
            jQuery("#jgjson").jgtable(json);
        }
    );

Post a Comment

Your email is never published nor shared. Required fields are marked *