Sha256: f0ac35d104de996fc4e0c7c7c4fb2b586f77d480f57e097d037c14763adffd2b

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

google.charts.load("current", {packages: ["corechart", "bar", "line"]});
var drawChart = function (id, config) {
    var div = document.getElementById(id)
    div.style.width = config['style']['width']
    div.style.height = config['style']['height']
    var chart = eval("new " + config['type'] + "(div)");
    chart.draw(config['data'], config['options']);
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
asciinurse-0.1.7 resources/googlecharts/javascripts/global.js
asciinurse-0.1.6 resources/googlecharts/javascripts/global.js
asciinurse-0.1.5 resources/googlecharts/javascripts/global.js
asciinurse-0.1.4 resources/googlecharts/javascripts/global.js