@cloudformatter template

A simple starting template for @cloudformatter testing

HTML

<script src="http://www.cloudformatter.com/Resources/Pages/CSS2Pdf/Script/xepOnline.jqPlugin.js"></script>
<script src="https://www.google.com/jsapi?autoload={&#39;modules&#39;:[{&#39;name&#39;:&#39;visualization&#39;,&#39;version&#39;:&#39;1.1&#39;,&#39;packages&#39;:[&#39;corechart&#39;]}]}"></script>
<div id="buttons" class="buttons"></div>
<hr/>
<div id="JSFiddle">
    <div id="chart_div" style="width: 1100px; height: 500px;"></div>
</div>

CSS

.buttons button:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.buttons button:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

button {
    color:#111;
    background-image: linear-gradient(to bottom,#ffffff 0,#777777 100%);
    background-repeat: repeat-x;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
    border-width:1px;
    border-color: #777;
    text-shadow: 0 -1px 0 rgba(0,0,0,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
}
button:hover{
    color:#fff;
    background-image: linear-gradient(to top,#337ab7 0,#265a88 100%);
}

JavaScript

google.setOnLoadCallback(drawSeriesChart);
<!-- This adds the proper namespace on the generated SVG -->
function AddNamespace(){
  var svg = jQuery('#chart_div svg');
  svg.attr("xmlns", "http://www.w3.org/2000/svg");
  svg.css('overflow','visible');
}
<!-- This generates the google chart -->

                 
                 function drawSeriesChart() {
                 
                 var data = google.visualization.arrayToDataTable([
                 ['ID', 'Life Expectancy', 'Fertility Rate', 'Region',     'Population'],
                 ['CAN',    80.66,              1.67,      'North America',  33739900],
                 ['DEU',    79.84,              1.36,      'Europe',         81902307],
                 ['DNK',    78.6,               1.84,      'Europe',         5523095],
                 ['EGY',    72.73,              2.78,      'Middle East',    79716203],
                 ['GBR',    80.05,              2,         'Europe',         61801570],
                 ['IRN',    72.49,              1.7,       'Middle East',    73137148],
                 ['IRQ',    68.09,              4.77,      'Middle East',    31090763],
                 ['ISR',    81.55,              2.96,      'Middle East',    7485600],
                 ['RUS',    68.6,               1.54,      'Europe',         141850000],
                 ['USA',    78.09,              2.05,      'North America',  307007000]
                 ]);
                 
                 var options = {
                 title: 'Correlation between life expectancy, fertility rate and population of some world countries (2010)',
                 hAxis: {title: 'Life Expectancy'},
                 vAxis: {title: 'Fertility Rate'},
                 bubble: {textStyle: {fontSize: 11}}
                 };
                 
                 var chart = new google.visualization.BubbleChart(document.getElementById('chart_div'));
                 google.visualization.events.addListener(chart, 'ready',...