This rather nice curve is produced with the following Javascript:
<script type="text/javascript">
<!--
// This dataset results in what looks like a nice curved line
data = [0,1,3,6,10,15,21,28,36,45,55,66,78,91,105,120,136,153,171,190,210,231,253,276,300];
line = new LineChart(document.getElementById("myLineChart"), data);
line.tickMarks = 'circle';
line.Draw();
// -->
</script>
This is some text positioned using CSS
This graph is produced with the following code. The text (since canvii don't do text) is produced using
CSS positioning.
<div style="position: relative">
<canvas width="600" height="250" id="myLineChart2">
This is the fallback HTML that is shown if the browser doesn't support the canvas tag.
</canvas>
<div style="position: absolute; top: 220; left: 160px; font-family: Arial; font-weight: bold">
This is some text positioned using CSS
</div>
</div>