Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 20th, 2012  |  syntax: None  |  size: 0.39 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Graphael documentation, recent samples, etc
  2. var r = Raphael('line-chart');
  3.  
  4. // did NOT work -->
  5. var linechart = r.g.linechart(
  6.   10,10,300,220,[1,2,3,4,5],[10,20,15,35,30],
  7.   {"colors":["#444"], "symbol":"s", axis:"0 0 1 1"}
  8. );
  9.  
  10. // worked in a limited way, rendering a plain line with no visible labels/graph -->
  11. var linechart = r.linechart(
  12.   10,10,300,220,[1,2,3,4,5],[10,20,15,35,30]
  13. );