Created
February 3, 2012 20:32
-
-
Save fponticelli/1732325 to your computer and use it in GitHub Desktop.
ReportGrid visualizations template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache=2 days | |
formats=pdf,ps,png,jpg,svg,bmp,tif,html | |
[params] | |
viz[0]=pieChart | |
viz[1]=barChart | |
[defaults] | |
viz=pieChart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?DOCTYPE html> | |
<html> | |
<head> | |
<title>Viz</title> | |
<script src="http://api.reportgrid.com/js/reportgrid-charts.js"></script> | |
<link type="text/css" href="http://api.reportgrid.com/css/rg-charts.css" rel="stylesheet"> | |
<script type="text/javascript"> | |
function render() | |
{ | |
ReportGrid.$viz("#chart", { | |
data : [{browser:"chrome",count:100},{browser:"firefox",count:80}], | |
axes : ["browser","count"] | |
}); | |
} | |
</script> | |
</head> | |
<body onload="render()"> | |
<div id="chart" class="rg"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment