title: JavaScript not working as expected
body: <p>I want to draw chart that is beautiful in my VC++ program and so decided to implement in by HTML and JavaScript.</p>
  
  <p>As it show, I downloaded a Javascript lib and used it as it said in its site.<br>
  How to use it?</p>
  
  <p><em>Download and include raphael.js into your HTML page, then use it as simple as:</em></p>
  
  <pre><code>// Creates canvas 320 × 200 at 10, 50
  var paper = Raphael(10, 50, 320, 200);
  
  // Creates circle at x = 50, y = 40, with radius 10
  var circle = paper.circle(50, 40, 10);
  
  // Sets the fill attribute of the circle to red (#f00)
  circle.attr("fill", "#f00");
  
  // Sets the stroke attribute of the circle to white    
  circle.attr("stroke", "#fff");
  </code></pre>
  
  <p>I included javascript file like below:</p>
  
  <pre><code>&lt;head&gt;
  &lt;script type="text/javascript" src="raphael.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  ABOVE CODE
  &lt;/script&gt;
  </code></pre>
  
  <p>If you try it, it won't work. I tried to make it work, but could not. I have a question. How can I do it work without copying things from save as page of their demo? Of course, it includes documentation, but it is reference.</p>
  
  <p>How does it work simply? Thanks!</p>