Sha256: 599422c3580070c8a5ecfc0bd401d7fbc51347b26bd0af789f3d2984f2d21e06
Contents?: true
Size: 1.83 KB
Versions: 6
Compression:
Stored size: 1.83 KB
Contents
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title>amCharts Responsive Example</title> <script src="http://www.amcharts.com/lib/3/amcharts.js"></script> <script src="http://www.amcharts.com/lib/3/radar.js"></script> <script src="../responsive.min.js"></script> <style> body, html { height: 100%; padding: 0; margin: 0; } </style> <script> var chart = AmCharts.makeChart("chartdiv", { "type": "radar", "dataProvider": [{ "country": "Czech Republic", "litres": 156.9 }, { "country": "Ireland", "litres": 131.1 }, { "country": "Germany", "litres": 115.8 }, { "country": "Australia", "litres": 109.9 }, { "country": "Austria", "litres": 108.3 }, { "country": "UK", "litres": 99 }], "categoryField": "country", "startDuration": 2, "valueAxes": [{ "axisAlpha": 0.15, "minimum": 0, "dashLength": 3, "axisTitleOffset": 20, "gridCount": 5 }], "graphs": [{ "valueField": "litres", "title": "Litres", "bullet": "round", "balloonText": "[[value]] litres of beer per year" }], "legend": {}, "responsive": { "enabled": true } }); </script> </head> <body> <div id="chartdiv" style="width: 100%; height: 100%;"></div> </body> </html>
Version data entries
6 entries across 2 versions & 1 rubygems