Sha256: ddb58c6cb9b414a93940e4588deb9d265a83583b57b7e09d792f723b4e3f56d0

Contents?: true

Size: 769 Bytes

Versions: 4

Compression:

Stored size: 769 Bytes

Contents

<html>
<head>
    <meta charset="UTF-8">
    <script type="text/javascript" src="https://www.google.com/jsapi"></script>
    <script type="text/javascript">
        google.load("visualization", "1.1", {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 = new config['type'](div);
            chart.draw(config['data'], config['options']);
        }
    </script>
</head>
<body>
<div id="chart"></div>
<script type="text/javascript">
    google.setOnLoadCallback(function () {
        drawChart('chart', ${CONFIG})
    })
</script>
</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
asciinurse-0.1.3 resources/googlecharts/converter/template.html
asciinurse-0.1.2 resources/googlecharts/converter/template.html
asciinurse-0.1.1 resources/googlecharts/converter/template.html
asciinurse-0.1.0 resources/googlecharts/converter/template.html