Recent Posts
None | 6 sec ago
Lua | 40 sec ago
Z80 Assembler | 42 sec ago
None | 58 sec ago
None | 1 min ago
Lua | 1 min ago
None | 1 min ago
Python | 1 min ago
None | 2 min ago
None | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 14th of Dec 2009 03:36:48 PM Download | Raw | Embed | Report
  1. ;;
  2. ;; guile-charting example
  3. ;; http://wingolog.org/software/guile-charting
  4.  
  5. (use-modules (charting))
  6.  
  7. (make-bar-chart "Monthly status for Foo project"
  8.  '( ("January"
  9.       (232 "Download")
  10.       (20 "Upload"))
  11.     ("February"
  12.       (80 "Download")
  13.       (320 "Upload"))
  14.     ("March"
  15.       (130 "Download")
  16.       (150 "Upload"))
  17.   )
  18.  
  19.   #:write-to-png "usage.png"
  20.   #:chart-height 200
  21. )
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: