Embed StatSheet.com charts in your website or blog with just a few lines of code. It is easy and free! All that I ask is for a backlink in exchange. If you have a blog on Wordpress.com, unfortunately you will not be able to use StatSheet.com Chartlets or Widgets (1) (2).
To embed the chart you selected, use the following code:
<!-- Start StatSheet.com Chartlet code -->
<div style="margin:0px auto;text-align:center">
<a href="http://statsheet.com/" target="_blank"
title="Home of College Basketball fanatics..."
style="text-decoration:none;color:#666;font-family:sans-serif;font-size:11px">
College Basketball Stats by StatSheet.com</a>
<br />
<script language="JavaScript1.2" type="text/javascript"
src="http://statsheet.com/charts/teams/ucla/trends/trends/wins-all.js">
</script>
</div>
<!-- End StatSheet.com Chartlet code -->
Copy the code with all line breaks removed:
The link above the <script> tag is required and must point to "http://statsheet.com". You may place the link anywhere on the page as long as it's physically above the <script> tag (it must be readable in the html when the script tag loads).
The above code produces the following chart:
Do you want to control the width of the chart?
Charts on StatSheet.com have been designed to fit the page they are displayed on. However, you may need control the width to fit properly on your website. To set the width of a chart, set a global variable named 'ssChartWidth'.
To set the above chart to a width of 400, use the following code:
<!-- Start StatSheet.com Chartlet code -->
<div style="margin:0px auto;text-align:center">
<a href="http://statsheet.com/" target="_blank"
title="Home of College Basketball fanatics..."
style="text-decoration:none;color:#666;font-family:sans-serif;font-size:11px">
College Basketball Stats by StatSheet.com</a>
<br />
<script language="JavaScript1.2" type="text/javascript" >
var ssChartWidth = 400;
</script>
<script language="JavaScript1.2" type="text/javascript"
src="http://statsheet.com/charts/teams/ucla/trends/trends/wins-all.js">
</script>
</div>
<!-- End StatSheet.com Chartlet code -->
* The minimum supported chart width is 250.